{"id":25090,"date":"2021-11-28T16:36:11","date_gmt":"2021-11-28T08:36:11","guid":{"rendered":"https:\/\/aqzt.com\/25090.html"},"modified":"2021-11-28T16:36:11","modified_gmt":"2021-11-28T08:36:11","slug":"asp-net-core%e5%be%ae%e6%9c%8d%e5%8a%a1%e4%b9%8b%e5%9f%ba%e4%ba%8esteeltoe%e9%9b%86%e6%88%90zuul%e5%ae%9e%e7%8e%b0%e7%bb%9f%e4%b8%80api%e7%bd%91%e5%85%b3-2","status":"publish","type":"post","link":"https:\/\/aqzt.com\/25090.html","title":{"rendered":"ASP.NET Core\u5fae\u670d\u52a1\u4e4b\u57fa\u4e8eSteeltoe\u96c6\u6210Zuul\u5b9e\u73b0\u7edf\u4e00API\u7f51\u5173"},"content":{"rendered":"<p><em><strong>Tip:<\/strong><\/em> \u6b64\u7bc7\u5df2\u52a0\u5165.NET Core\u5fae\u670d\u52a1\u57fa\u7840\u7cfb\u5217\u6587\u7ae0\u7d22\u5f15\uff0c\u672c\u7bc7\u63a5\u4e0a\u4e00\u7bc7\u300a\u57fa\u4e8eSteeltoe\u4f7f\u7528Eureka\u5b9e\u73b0\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\u300b\uff0c\u6240\u6f14\u793a\u7684\u793a\u4f8b\u4e5f\u662f\u57fa\u4e8e\u4e0a\u4e00\u7bc7\u7684\u57fa\u7840\u4e0a\u800c\u6269\u5c55\u7684\u3002<\/p>\n<\/p>\n<h1>\u4e00\u3001\u5173\u4e8eSpring Cloud Zuul<\/h1>\n<p>API Gateway\uff08API GW \/ API \u7f51\u5173\uff09\uff0c\u987e\u540d\u601d\u4e49\uff0c\u662f\u51fa\u73b0\u5728\u7cfb\u7edf\u8fb9\u754c\u4e0a\u7684\u4e00\u4e2a\u9762\u5411API\u7684\u3001\u4e32\u884c\u96c6\u4e2d\u5f0f\u7684\u5f3a\u7ba1\u63a7\u670d\u52a1\uff0c\u8fd9\u91cc\u7684\u8fb9\u754c\u662f\u4f01\u4e1aIT\u7cfb\u7edf\u7684\u8fb9\u754c\u3002<\/p>\n<p>Zuul \u662fNetflix \u63d0\u4f9b\u7684\u4e00\u4e2a\u5f00\u6e90\u7ec4\u4ef6\uff0c\u81f4\u529b\u4e8e\u5728\u4e91\u5e73\u53f0\u4e0a\u63d0\u4f9b\u52a8\u6001\u8def\u7531\uff0c\u76d1\u63a7\uff0c\u5f39\u6027\uff0c\u5b89\u5168\u7b49\u8fb9\u7f18\u670d\u52a1\u7684\u6846\u67b6\uff0c\u4e5f\u6709\u5f88\u591a\u516c\u53f8\u4f7f\u7528\u5b83\u6765\u4f5c\u4e3a\u7f51\u5173\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002Spring Cloud \u4f53\u7cfb\u6536\u5f55\u7684\u8be5\u6a21\u5757\uff0c\u4e3b\u8981\u7528\u4e8e\u63d0\u4f9b\u52a8\u6001\u8def\u7531\u3001\u76d1\u63a7\u3001\u5b89\u5168\u63a7\u5236\u3001\u9650\u6d41\u914d\u989d\u7b49\uff0c\u53ef\u4ee5\u5c06\u5185\u90e8\u5fae\u670d\u52a1API\u540c\u610f\u66b4\u9732\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/20220222102618-40.png\" alt=\"\" \/><\/p>\n<p>\u6709\u5173Zuul\u7684\u66f4\u591a\u5185\u5bb9\uff0c\u8bf7\u53c2\u8003\u6211\u7684\u8fd9\u4e00\u7bc7\uff1a\u300aSpring Cloud\u5fae\u670d\u52a1\u67b6\u6784\u5b66\u4e60\u7b14\u8bb0\u4e0e\u793a\u4f8b\u300b\uff0c\u8fd9\u91cc\u4e0d\u662f\u672c\u6587\u91cd\u70b9\uff0c\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n<h1>\u4e8c\u3001\u5feb\u901f\u6784\u5efaZuul Server<\/h1>\n<p>\uff081\uff09pom.xml\u6dfb\u52a0\u76f8\u5173\u4f9d\u8d56\u5305\uff1a\u672c\u793a\u4f8b\u7684\u7248\u672c =&gt; Spring Boot 1.5.15.RELEASE\uff0cSpring Cloud Edgware.SR3<\/p>\n<pre>\n\n<div class=\"codecolorer-container text solarized-dark language-java\" style=\"overflow:auto;white-space:nowrap;width:800px;height:300px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/>16<br \/>17<br \/>18<br \/>19<br \/>20<br \/>21<br \/>22<br \/>23<br \/>24<br \/>25<br \/>26<br \/>27<br \/>28<br \/>29<br \/>30<br \/>31<br \/>32<br \/>33<br \/>34<br \/>35<br \/>36<br \/>37<br \/>38<br \/>39<br \/><\/div><\/td><td><div class=\"text codecolorer\">1 &nbsp; &nbsp;&amp;lt;dependencies&amp;gt;<br \/>\n2 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;dependency&amp;gt;<br \/>\n3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;groupId&amp;gt;org.springframework.boot&amp;lt;\/groupId&amp;gt;<br \/>\n4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;artifactId&amp;gt;spring-boot-starter&amp;lt;\/artifactId&amp;gt;<br \/>\n5 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;\/dependency&amp;gt;<br \/>\n6<br \/>\n7 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;!-- zuul --&amp;gt;<br \/>\n8 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;dependency&amp;gt;<br \/>\n9 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;groupId&amp;gt;org.springframework.cloud&amp;lt;\/groupId&amp;gt;<br \/>\n10 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;artifactId&amp;gt;spring-cloud-starter-zuul&amp;lt;\/artifactId&amp;gt;<br \/>\n11 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;\/dependency&amp;gt;<br \/>\n12<br \/>\n13 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;!-- eureka --&amp;gt;<br \/>\n14 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;dependency&amp;gt;<br \/>\n15 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;groupId&amp;gt;org.springframework.cloud&amp;lt;\/groupId&amp;gt;<br \/>\n16 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;artifactId&amp;gt;spring-cloud-starter-eureka&amp;lt;\/artifactId&amp;gt;<br \/>\n17 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;\/dependency&amp;gt;<br \/>\n18<br \/>\n19 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;!-- \u70ed\u542f\u52a8\uff0c\u70ed\u90e8\u7f72\u4f9d\u8d56\u5305\uff0c\u4e3a\u4e86\u8c03\u8bd5\u65b9\u4fbf\uff0c\u52a0\u5165\u6b64\u5305 --&amp;gt;<br \/>\n20 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;dependency&amp;gt;<br \/>\n21 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;groupId&amp;gt;org.springframework.boot&amp;lt;\/groupId&amp;gt;<br \/>\n22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;artifactId&amp;gt;spring-boot-devtools&amp;lt;\/artifactId&amp;gt;<br \/>\n23 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;optional&amp;gt;true&amp;lt;\/optional&amp;gt;<br \/>\n24 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;\/dependency&amp;gt;<br \/>\n25 &nbsp; &nbsp;&amp;lt;\/dependencies&amp;gt;<br \/>\n26<br \/>\n27 &nbsp; &nbsp;&amp;lt;!-- spring cloud dependencies --&amp;gt;<br \/>\n28 &nbsp; &nbsp;&amp;lt;dependencyManagement&amp;gt;<br \/>\n29 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;dependencies&amp;gt;<br \/>\n30 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;dependency&amp;gt;<br \/>\n31 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;groupId&amp;gt;org.springframework.cloud&amp;lt;\/groupId&amp;gt;<br \/>\n32 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;artifactId&amp;gt;spring-cloud-dependencies&amp;lt;\/artifactId&amp;gt;<br \/>\n33 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;version&amp;gt;Edgware.SR3&amp;lt;\/version&amp;gt;<br \/>\n34 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;type&amp;gt;pom&amp;lt;\/type&amp;gt;<br \/>\n35 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;scope&amp;gt;import&amp;lt;\/scope&amp;gt;<br \/>\n36 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;\/dependency&amp;gt;<br \/>\n37 &nbsp; &nbsp; &nbsp; &nbsp;&amp;lt;\/dependencies&amp;gt;<br \/>\n38 &nbsp; &nbsp;&amp;lt;\/dependencyManagement&amp;gt;<br \/>\n39<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n\n<\/pre>\n<p>\uff082\uff09\u542f\u52a8\u7c7b\u6dfb\u52a0@EnableZuulProxy\u6ce8\u89e3<\/p>\n<pre>\n\n<div class=\"codecolorer-container text solarized-dark language-java\" style=\"overflow:auto;white-space:nowrap;width:800px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/><\/div><\/td><td><div class=\"text codecolorer\">1@SpringBootApplication<br \/>\n2@EnableZuulProxy<br \/>\n3public class ZuulServiceApplication {<br \/>\n4 &nbsp; &nbsp;public static void main(String[] args) {<br \/>\n5 &nbsp; &nbsp; &nbsp; &nbsp;SpringApplication.run(ZuulServiceApplication.class, args);<br \/>\n6 &nbsp; &nbsp;}<br \/>\n7}<br \/>\n8<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n\n<\/pre>\n<p>\uff083\uff09\u6dfb\u52a0\u5fc5\u8981\u914d\u7f6e\uff08application.yml\uff09\uff1a\u4e3b\u8981\u662f\u9488\u5bf9Eureka\u7684\u914d\u7f6e\uff0c\u672c\u793a\u4f8b\u5c06Zuul\u4e5f\u4f5c\u4e3a\u4e00\u4e2aEureka Client\u6ce8\u518c\u5230Eureka Server\u4e2d\u3002<\/p>\n<pre>\n\n<div class=\"codecolorer-container text solarized-dark language-java\" style=\"overflow:auto;white-space:nowrap;width:800px;height:300px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/>16<br \/>17<br \/>18<br \/>19<br \/>20<br \/>21<br \/><\/div><\/td><td><div class=\"text codecolorer\">1server:<br \/>\n2 &nbsp;port: 5000<br \/>\n3<br \/>\n4spring:<br \/>\n5 &nbsp;application:<br \/>\n6 &nbsp; &nbsp;name: zuul-gateway-service<br \/>\n7<br \/>\n8eureka:<br \/>\n9 &nbsp;client:<br \/>\n10 &nbsp; &nbsp;serviceUrl:<br \/>\n11 &nbsp; &nbsp; &nbsp;defaultZone: http:\/\/localhost:8761\/eureka\/<br \/>\n12 &nbsp;instance:<br \/>\n13 &nbsp; &nbsp;prefer-ip-address: true # \u4f18\u5148\u6ce8\u518cIP\u5730\u5740\u800c\u4e0d\u662fhostname<br \/>\n14 &nbsp; &nbsp;instance-id: zuul-gateway-container:${server.port}<br \/>\n15 &nbsp;healthcheck:<br \/>\n16 &nbsp; &nbsp;enabled: true # \u542f\u7528\u5065\u5eb7\u68c0\u67e5,\u6ce8\u610f:\u9700\u8981\u5f15\u7528spring boot actuator<br \/>\n17<br \/>\n18management:<br \/>\n19 &nbsp;security:<br \/>\n20 &nbsp; &nbsp;enabled: false # \u9ed8\u8ba4\u4e3atrue\uff0c\u6539\u4e3afalse\u4ee5\u4fbf\u53ef\u4ee5\u770b\u5230routes<br \/>\n21<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n\n<\/pre>\n<p>\u542f\u52a8Eureka Server\u548cZuul Server\u4e4b\u540e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/20220222102620-3.png\" alt=\"\" \/><\/p>\n<p>\u793a\u4f8b\u4ee3\u7801\uff1a<a href=\"https:\/\/github.com\/EdisonChou\/Microservice.PoC.Steeltoe\/tree\/master\/springcloud\/zuul-service\">https:\/\/github.com\/EdisonChou\/Microservice.PoC.Steeltoe\/tree\/master\/springcloud\/zuul-service<\/a><\/p>\n<h1>\u4e09\u3001\u5feb\u901f\u9a8c\u8bc1\u6d4b\u8bd5<\/h1>\n<p>\u57fa\u4e8e\u7b2c\u4e00\u7bc7\u7684\u4e09\u4e2a\u5df2\u6ce8\u518c\u5230Eureka\u7684ASP.NET Core WebAPI\u793a\u4f8b\u9879\u76ee\uff08\u793a\u4f8b\u4ee3\u7801\uff1a<a href=\"https:\/\/github.com\/EdisonChou\/Microservice.PoC.Steeltoe\/tree\/master\/src\/Chapter1-ServiceDiscovery%EF%BC%89%EF%BC%8C%E6%97%A0%E9%A1%BB%E5%81%9A%E4%BB%BB%E4%BD%95%E4%BF%AE%E6%94%B9%EF%BC%8C%E5%90%AF%E5%8A%A8%E5%B9%B6%E6%B3%A8%E5%86%8C%E5%88%B0Eureka%E4%B9%8B%E5%90%8E%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%88%97%E8%A1%A8%EF%BC%9A\">https:\/\/github.com\/EdisonChou\/Microservice.PoC.Steeltoe\/tree\/master\/src\/Chapter1-ServiceDiscovery\uff09\uff0c\u65e0\u987b\u505a\u4efb\u4f55\u4fee\u6539\uff0c\u542f\u52a8\u5e76\u6ce8\u518c\u5230Eureka\u4e4b\u540e\u7684\u670d\u52a1\u5217\u8868\uff1a<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/20220222102621-4.png\" alt=\"\" \/><\/p>\n<p>\uff081\uff09\u901a\u8fc7Zuul\u8bbf\u95eeAgent-Service<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/20220222102622-57.png\" alt=\"\" \/><\/p>\n<p>\uff082\uff09\u901a\u8fc7Zuul\u8bbf\u95eePremium-Service<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/20220222102623-71.png\" alt=\"\" \/><\/p>\n<p>\uff083\uff09\u901a\u8fc7Zuul\u8bbf\u95eeClient-Service \uff08\u591aClient-Service\u5b9e\u4f8b\uff0c\u9a8c\u8bc1\u8d1f\u8f7d\u5747\u8861\uff09<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/aqzt.com\/wp-content\/uploads\/20220222102623-55.gif\" alt=\"\" \/><\/p>\n<h1>\u56db\u3001\u5c0f\u7ed3<\/h1>\n<p>\u672c\u6587\u6781\u7b80\u5730\u4ecb\u7ecd\u4e86\u4e00\u4e0bSpring Cloud Zuul\uff0c\u5e76\u4f7f\u7528Java\u5feb\u901f\u5730\u7f16\u5199\u4e86\u4e00\u4e2aAPI\u7f51\u5173Zuul Server\uff0c\u7136\u540e\u57fa\u4e8e\u4e0a\u4e00\u7bc7\u7684\u4e09\u4e2aASP.NET Core\u6f14\u793a\u4e86\u4e00\u4e0bAPI\u7f51\u5173\u7684\u6548\u679c\u3002\u5f53\u7136\uff0c\u5bf9\u4e8eZuul\u8fd8\u6709\u5f88\u591a\u5185\u5bb9\uff0c\u8fd9\u91cc\u5c31\u4e0d\u518d\u4e00\u4e00\u6f14\u793a\uff0c\u6709\u5174\u8da3\u7684\u7ae5\u978b\u6216\u8005\u5bf9\u8fd9\u79cd\u6df7\u642d\u5f0f\u7684\u67b6\u6784\u611f\u5174\u8da3\u7684\u7ae5\u978b\u53ef\u4ee5\u53bb\u4e86\u89e3\u4e00\u4e0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tip: \u6b64\u7bc7\u5df2\u52a0\u5165.NET Core\u5fae\u670d\u52a1\u57fa\u7840\u7cfb\u5217\u6587\u7ae0\u7d22\u5f15\uff0c\u672c\u7bc7\u63a5\u4e0a\u4e00\u7bc7\u300a\u57fa\u4e8eSteeltoe\u4f7f\u7528Eureka\u5b9e\u73b0\u670d\u52a1\u6ce8\u518c\u4e0e\u53d1\u73b0\u300b\uff0c\u6240\u6f14\u793a\u7684\u793a\u4f8b\u4e5f\u662f\u57fa\u4e8e\u4e0a\u4e00\u7bc7\u7684\u57fa\u7840\u4e0a\u800c\u6269\u5c55\u7684\u3002 \u4e00\u3001\u5173\u4e8eSpring Cloud Zuul API Gateway\uff08API GW \/ API \u7f51\u5173\uff09\uff0c\u987e\u540d\u601d\u4e49\uff0c\u662f\u51fa\u73b0\u5728\u7cfb\u7edf\u8fb9\u754c\u4e0a\u7684\u4e00\u4e2a\u9762\u5411API\u7684\u3001\u4e32\u884c\u96c6\u4e2d\u5f0f\u7684\u5f3a\u7ba1\u63a7\u670d\u52a1\uff0c\u8fd9\u91cc\u7684\u8fb9\u754c\u662f\u4f01\u4e1aIT\u7cfb\u7edf\u7684\u8fb9\u754c\u3002 Zuul \u662fNetflix \u63d0\u4f9b\u7684\u4e00\u4e2a\u5f00\u6e90\u7ec4\u4ef6\uff0c\u81f4\u529b\u4e8e\u5728\u4e91\u5e73\u53f0\u4e0a\u63d0\u4f9b\u52a8\u6001\u8def\u7531\uff0c\u76d1\u63a7\uff0c\u5f39\u6027\uff0c\u5b89\u5168\u7b49\u8fb9\u7f18\u670d\u52a1\u7684\u6846\u67b6\uff0c\u4e5f\u6709\u5f88\u591a\u516c\u53f8\u4f7f\u7528\u5b83\u6765<\/p>\n","protected":false},"author":1,"featured_media":25084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2],"tags":[292,9,22,500,190],"collection":[],"_links":{"self":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts\/25090"}],"collection":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/comments?post=25090"}],"version-history":[{"count":0,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts\/25090\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/media\/25084"}],"wp:attachment":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/media?parent=25090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/categories?post=25090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/tags?post=25090"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/collection?post=25090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}