{"id":37,"date":"2022-07-18T15:50:38","date_gmt":"2022-07-18T07:50:38","guid":{"rendered":"https:\/\/blog.maoyulong.club\/?p=37"},"modified":"2022-07-19T11:03:35","modified_gmt":"2022-07-19T03:03:35","slug":"%e5%89%8d%e7%ab%af%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0%e4%b8%80","status":"publish","type":"post","link":"https:\/\/blog.maoyulong.club\/?p=37","title":{"rendered":"\u524d\u7aef\u5b66\u4e60\u7b14\u8bb0(\u4e00)"},"content":{"rendered":"<h2 id=\"\u524d\u8a00\">\u524d\u8a00<\/h2>\n<p>\u8fd9\u51e0\u5929\u56e0\u4e3a\u5b9e\u4e60\u7684\u539f\u56e0\uff0c\u5f88\u77ed\u7684\u65f6\u95f4\u5185\u7b80\u5355\u7684\u63a5\u89e6\u4e86\u4e00\u4e0b\u524d\u7aef\u3002\u53ea\u80fd\u5728\u6ca1\u5565\u57fa\u7840\u7684\u60c5\u51b5\u4e0b\u55ef\u770bReact\u4e86<\/p>\n<p>\u8bf4\u5b9e\u8bddjs\u6211\u90fd\u4e0d\u4f1a\uff0c\u4f46\u4e95\u5b57\u68cb\u6559\u7a0b\u8fd9\u4e48\u5199\u7684<\/p>\n<blockquote><p>\u6211\u4eec\u5047\u5b9a\u4f60\u5df2\u7ecf\u5bf9 HTML \u548c JavaScript \u90fd\u6bd4\u8f83\u719f\u6089\u4e86\u3002\u5373\u4fbf\u4f60\u4e4b\u524d\u4f7f\u7528\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f60\u4e5f\u53ef\u4ee5\u8ddf\u4e0a\u8fd9\u7bc7\u6559\u7a0b\u7684\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u6211\u4eec\u5047\u5b9a\u4f60\u4e5f\u5df2\u7ecf\u719f\u6089\u4e86\u4e00\u4e9b\u7f16\u7a0b\u7684\u6982\u5ff5\uff0c\u4f8b\u5982\uff0c\u51fd\u6570\u3001\u5bf9\u8c61\u3001\u6570\u7ec4\uff0c\u4ee5\u53ca class \u7684\u4e00\u4e9b\u5185\u5bb9\u3002<\/p><\/blockquote>\n<p>\u597d\u5427\uff0c\u76f8\u4fe1\u4ed6<\/p>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/0FEA4EFF2C9294921D67647C9ADF6D4F.jpg\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/0FEA4EFF2C9294921D67647C9ADF6D4F.jpg\" \/><\/p><\/noscript>\n<p>\u4e8b\u5b9e\u4e5f\u786e\u5b9e\u5982\u6b64\uff0c\u597d\u5728react \u7684\u5b98\u65b9\u6559\u7a0b\u975e\u5e38\u7684\u53cb\u597d\uff0c\u7167\u7740\u6559\u7a0b\u7684\u5e2e\u52a9\u4e0b\uff0c\u4e24\u5929\u628a\u4e95\u5b57\u68cb\u5f04\u5b8c\u4e86<\/p>\n<p><a href=\"https:\/\/react.docschina.org\/tutorial\/tutorial.html\" target=\"_blank\"  rel=\"nofollow\" >\u5165\u95e8\u6559\u7a0b: \u8ba4\u8bc6 React \u2013 React (docschina.org)<\/a><\/p>\n<p>\u6574\u4e2a\u8fc7\u7a0b\u8fd8\u662f\u5f88\u8212\u670d\u7684\uff0c\u6bd5\u7adf\u6709\u539f\u7801\u53ef\u4ee5\u76f4\u63a5\u6bd4\u8f83\u9519\u8bef\u3002\u524d\u7aefF12\u76f4\u63a5\u8c03\u8bd5\u4e5f\u975e\u5e38\u7684\u8212\u670d\u3002<\/p>\n<blockquote><p>\u5173\u4e8e\u4e95\u5b57\u68cb\u7684\u6700\u540e6\u4e2a\u6539\u8fdb\uff0c\u505a\u4e86\u4e00\u4e9b\u524d\u9762\u7684\uff0c\u611f\u89c9\u66f4\u591a\u662f\u7b97\u6cd5\u4e0a\u7684\u95ee\u9898\uff0c\u6709\u4e00\u4e9b\u5bf9\u4e8e\u6570\u7ec4\u7684\u4f7f\u7528\uff0c\u6709\u4e00\u4e9b\u9700\u8981\u4f60\u53bb\u601d\u8003\u653e\u5728\u54ea\u4e2a\u4e8b\u4ef6\u4e0a\u9762\uff0c\u6ca1\u6709\u4ec0\u4e48\u8d85\u8fc7\u6559\u7a0b\u7684\u4e1c\u897f<\/p><\/blockquote>\n<p>js\u4e0d\u592a\u61c2\u7684\u8bed\u6cd5\u4e5f\u5c31\u90a3\u51e0\u4e2a\uff0c\u767e\u5ea6\u6216\u8005\u770b\u5b98\u65b9\u6587\u6863\u57fa\u672c\u90fd\u80fd\u89e3\u51b3\uff0c\u8fb9\u505a\u8fb9\u5b66\u7684\u6548\u7387\u8fd8\u662f\u5f88\u9ad8\u7684<\/p>\n<p>\u5f00\u8fd9\u4e2a\u5206\u7ec4\uff0c\u662f\u56e0\u4e3a\u540e\u9762\u51e0\u4e2a\u661f\u671f\u6216\u8005\u4e00\u4e2a\u6708\u4f1a\u5199\u4e00\u4e9b\u8fd0\u7ef4\u7684\u5de5\u5177\u53f0\uff0c\u53ef\u4ee5\u628a\u524d\u7aef\u8e29\u7684\u5751\u90fd\u8bb0\u5f55\u4e00\u4e0b<\/p>\n<h2 id=\"\u548c\u540e\u7aef\u4ea4\u4e92\">\u548c\u540e\u7aef\u4ea4\u4e92<\/h2>\n<p>\u5982\u679c\u4e0a\u7f51\u641c\u7684\u8bdd\uff0c\u4f1a\u770b\u5230fetch\u548cajax\u3002\u5feb\u901f\u6d4f\u89c8\u4e86\u4e00\u4e0b\u7528\u4e86fetch<\/p>\n<p>\u5f53\u7136\uff0creact\u65b0\u624b\u6559\u7a0b\u5e76\u4e0d\u4f1a\u6559\u6211Fetch API\u5982\u4f55\u4f7f\u7528\uff0c\u4f46\u662fmdn\u4f1a<\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/zh-CN\/docs\/Web\/API\/Fetch_API\/Using_Fetch\" target=\"_blank\"  rel=\"nofollow\" >\u4f7f\u7528 Fetch - Web API \u63a5\u53e3\u53c2\u8003 | MDN (mozilla.org)<\/a><\/p>\n<p>\u6309\u7167\u4e0a\u9762\u6240\u8bf4 fetch \u7684\u57fa\u672c\u4f7f\u7528\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-javascript\" lang=\"javascript\">fetch('http:\/\/example.com\/movies.json')\n  .then(response =&gt; response.json())\n  .then(data =&gt; console.log(data));\n<\/code><\/pre>\n<p>\u4e3a\u4e86\u8ba8\u8bba.then() \uff0c\u9700\u8981\u5148\u9012\u5f52\u7684\u5b66\u4e60<\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/zh-CN\/docs\/Learn\/JavaScript\/Asynchronous\/Introducing\" target=\"_blank\"  rel=\"nofollow\" >\u5f02\u6b65 JavaScript \u7b80\u4ecb - \u5b66\u4e60 Web \u5f00\u53d1 | MDN (mozilla.org)<\/a><\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/zh-CN\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Promise\" target=\"_blank\"  rel=\"nofollow\" >Promise - JavaScript | MDN (mozilla.org)<\/a><\/p>\n<p>\u6d89\u53ca\u5230 \u4e8b\u4ef6\u5904\u7406 \u56de\u8c03<\/p>\n<blockquote><p>\u5f02\u6b65\u65b9\u6cd5\u5e76\u4e0d\u4f1a\u7acb\u5373\u8fd4\u56de\u6700\u7ec8\u7684\u503c\uff0c\u800c\u662f\u4f1a\u8fd4\u56de\u4e00\u4e2a <em>promise<\/em>\uff0c\u4ee5\u4fbf\u5728\u672a\u6765\u67d0\u4e2a\u65f6\u5019\u628a\u503c\u4ea4\u7ed9\u4f7f\u7528\u8005\u3002<\/p>\n<p>\u4e00\u4e2a <code>Promise<\/code> \u5fc5\u7136\u5904\u4e8e\u4ee5\u4e0b\u51e0\u79cd\u72b6\u6001\u4e4b\u4e00\uff1a<\/p>\n<ul>\n<li><em>\u5f85\u5b9a\uff08pending\uff09<\/em>\uff1a\u521d\u59cb\u72b6\u6001\uff0c\u65e2\u6ca1\u6709\u88ab\u5151\u73b0\uff0c\u4e5f\u6ca1\u6709\u88ab\u62d2\u7edd\u3002<\/li>\n<li><em>\u5df2\u5151\u73b0\uff08fulfilled\uff09<\/em>\uff1a\u610f\u5473\u7740\u64cd\u4f5c\u6210\u529f\u5b8c\u6210\u3002<\/li>\n<li><em>\u5df2\u62d2\u7edd\uff08rejected\uff09<\/em>\uff1a\u610f\u5473\u7740\u64cd\u4f5c\u5931\u8d25\u3002<\/li>\n<\/ul>\n<p>\u5f85\u5b9a\u72b6\u6001\u7684 Promise \u5bf9\u8c61\u8981\u4e48\u4f1a\u901a\u8fc7\u4e00\u4e2a\u503c<em>\u88ab\u5151\u73b0<\/em>\uff0c\u8981\u4e48\u4f1a\u901a\u8fc7\u4e00\u4e2a\u539f\u56e0\uff08\u9519\u8bef\uff09<em>\u88ab\u62d2\u7edd<\/em>\u3002\u5f53\u8fd9\u4e9b\u60c5\u51b5\u4e4b\u4e00\u53d1\u751f\u65f6\uff0c\u6211\u4eec\u7528 promise \u7684 <code>then<\/code> \u65b9\u6cd5\u6392\u5217\u8d77\u6765\u7684\u76f8\u5173\u5904\u7406\u7a0b\u5e8f\u5c31\u4f1a\u88ab\u8c03\u7528\u3002<\/p><\/blockquote>\n<p>\u6b64\u65f6\u662f\u53ef\u4ee5\u548c\u672c\u5730\u540e\u7aef\u901a\u4fe1\u4e86\uff0c\u5982\u679c\u9700\u8981\u548c\u4e0d\u540c\u57df\u540d\u548cip\u7684\u5730\u65b9\u901a\u4fe1\u5c31\u6d89\u53ca\u5230\u4e86\u8de8\u57df\u7684\u95ee\u9898<\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/zh-CN\/docs\/Web\/HTTP\/CORS\" target=\"_blank\"  rel=\"nofollow\" >\u8de8\u6e90\u8d44\u6e90\u5171\u4eab\uff08CORS\uff09 - HTTP | MDN (mozilla.org)<\/a><\/p>\n<p>\u53ef\u4ee5\u4e0d\u53bb\u7ec6\u8bfb\uff0c\u9700\u8981\u77e5\u9053\u7684\u662f \u901a\u8fc7\u5728\u5934\u90e8\u6dfb\u52a0cors<\/p>\n<pre><code class=\"language-javascript\" lang=\"javascript\">var myInit = { method: 'GET',\n               headers: myHeaders,\n               mode: 'cors',\n               cache: 'default' };\n<\/code><\/pre>\n<p>\u8ba9\u524d\u7aef\u6765\u652f\u6301<\/p>\n<p>\u6700\u540e\u5982\u4e0b<\/p>\n<pre><code class=\"language-javascript\" lang=\"javascript\">componentDidMount(){\n        var t = this;\n        fetch(\"http:\/\/x.x.x.x\/test\", {\n            method: 'GET',\n            headers: {\n                mode: 'cors'\n            }\n        })\n        .then(\n        function (res) {\n            console.log(res);\n            res.json().then(function (data) {\n                    console.log(data);\n                    t.setState({\n                        data: data\n                    });\n                    console.log(Object.keys(t))\n                }\n            )\n        })\n    }\n<\/code><\/pre>\n<p>\u540e\u7aef\u4e5f\u5efa\u7acb\u4e00\u4e2a\u7b80\u5355\u7684\u901a\u4fe1<\/p>\n<p>flask\u4e3a\u4f8b\uff0c\u6dfb\u52a0\uff1a<\/p>\n<pre><code class=\"language-python\" lang=\"python\">from flask_cors import CORS\nCORS(app, resources=r'\/test')\n<\/code><\/pre>\n<p>\u518d\u5efa\u7acb\u8def\u7531\u5373\u53ef<\/p>\n<h2 id=\"\u5173\u4e8ethis\">\u5173\u4e8ethis<\/h2>\n<p>\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u76f4\u63a5\u5728\u51fd\u6570\u4e2d\u4f7f\u7528 this.setState \uff0c\u800c\u9700\u8981t.setSetate\u5462<\/p>\n<p>\u6211\u4eec\u901a\u8fc7devtools\u8bbe\u7f6e\u65ad\u70b9<\/p>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/\u622a\u5c4f2022-07-18-16.33.12.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/\u622a\u5c4f2022-07-18-16.33.12.png\" \/><\/p><\/noscript>\n<p>\u4f1a\u53d1\u73b0<\/p>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/\u622a\u5c4f2022-07-18-16.37.31.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/\u622a\u5c4f2022-07-18-16.37.31.png\" \/><\/p><\/noscript>\n<p>\u6b64\u65f6\u7684this\u662f\u6ca1\u6709\u5b9a\u4e49\u7684\uff0c\u4f46\u662ft\u4f1a\u6307\u5411message\u5bf9\u8c61<\/p>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/\u622a\u5c4f2022-07-18-16.38.45.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/blog.maoyulong.club\/wp-content\/uploads\/2022\/07\/\u622a\u5c4f2022-07-18-16.38.45.png\" \/><\/p><\/noscript>\n<p>\u53c2\u8003\uff1a<\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/zh-CN\/docs\/Web\/JavaScript\/Reference\/Operators\/this\" target=\"_blank\"  rel=\"nofollow\" >this - JavaScript | MDN (mozilla.org)<\/a><\/p>\n<p><a href=\"https:\/\/blog.csdn.net\/weixin_44262946\/article\/details\/108376785\" target=\"_blank\"  rel=\"nofollow\" >Promise\u4e2dthis\u6307\u5411\u95ee\u9898_\u526a\u65ad\u7ea2\u7ebf\uff0c\u66ff\u4ee3\u6708\u8001\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/a><\/p>\n<p>\u6211\u4eec\u5f97\u51fa\u4e00\u4e9b\u603b\u7ed3<\/p>\n<p>\u4f5c\u4e3a\u5bf9\u8c61\u7684\u65b9\u6cd5\u65f6\uff0c\u4ed6\u80fd\u5c55\u73b0\u51fa\u6211\u4eec\u9884\u671f\u7684\uff0c\u5373this\u4e3a\u8fd9\u4e2a\u5bf9\u8c61<\/p>\n<p>\u4f5c\u4e3a\u51fd\u6570\u7684\u5927\u90e8\u5206\u65f6\u5019\uff0c\u4f8b\u5982\u975e\u4e25\u683c\u7684\u6b63\u5e38\u51fd\u6570\uff0c\u4f1a\u5728\u672a\u7ed1\u5b9a\u65f6\u6307\u5411 <strong><code>window<\/code><\/strong><\/p>\n<p>\u4f46\u5bf9\u4e8e<strong><span style=\"color: red;\"><code>Promise<\/code><\/span><\/strong> \u5bf9\u8c61\u800c\u8a00\uff0c\u60c5\u51b5\u6709\u4e9b\u590d\u6742\uff0c\u59d1\u4e14\u8bb0\u5f97<\/p>\n<blockquote><p><code>Promise<\/code>\u5bf9\u8c61\u7684\u56de\u8c03\u51fd\u6570\u5982\u679c\u662f\u7bad\u5934\u51fd\u6570\u65f6\uff0c<code>this<\/code>\u6307\u5411\u4e00\u81f4\uff0c\u90fd\u662f\u6307\u5411\u5916\u5c42\u7b2c\u4e00\u4e2a\u666e\u901a\u51fd\u6570\u7684<code>this<\/code>\u3002\u4f46\u662f<code>Promise<\/code>\u5bf9\u8c61\u7684\u56de\u8c03\u51fd\u6570\u5982\u679c\u662f\u533f\u540d\u51fd\u6570\u65f6<\/p>\n<p><strong><span style=\"color: red;\"><code>Promise<\/code>\u5bf9\u8c61\u7684\u72b6\u6001\u662f<code>pending<\/code>\uff0c\u90a3\u4e48\u533f\u540d\u56de\u8c03\u51fd\u6570\u7684<code>this<\/code>\u6307\u5411<code>window<\/code>\u3002<\/span><\/strong><\/p>\n<p><strong><span style=\"color: red;\"><code>Promise<\/code>\u5bf9\u8c61\u7684\u72b6\u6001\u662f<code>resolved<\/code>\uff0c\u90a3\u4e48\u533f\u540d\u56de\u8c03\u51fd\u6570\u7684<code>this<\/code>\u6307\u5411<code>undefined<\/code>\u3002<\/span><\/strong><\/p><\/blockquote>\n<h2 id=\"\u5982\u4f55\u5904\u7406\u4f20\u9012\u8fc7\u6765\u7684\u5bf9\u8c61\">\u5982\u4f55\u5904\u7406\u4f20\u9012\u8fc7\u6765\u7684\u5bf9\u8c61<\/h2>\n<p>\u8f6c\u9012\u8fc7\u6765\u7684res.json \u4f1a\u5728state\u91cc\u9762\u5b58\u50a8\u4e3a\u5bf9\u8c61<\/p>\n<p>\u4f46\u662f\u8fd9\u4e2a\u5bf9\u8c61\u6211\u662f\u5e76\u4e0d\u77e5\u9053\u4ed6\u7684key\u7684\uff0c\u6211\u9700\u8981\u904d\u5386\u6574\u4e2a\u5bf9\u8c61<\/p>\n<p>\u597d\u5728<\/p>\n<pre><code class=\"language-javascript\" lang=\"javascript\">let key = Object.keys(this.state.data);\n<\/code><\/pre>\n<p>\u53ef\u4ee5\u76f4\u63a5\u83b7\u53d6\u6240\u6709\u7684key<\/p>\n<p>\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7key\u6765\u83b7\u5f97\u6240\u6709\u7684\u952e\u503c\u5bf9\u4e86\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5<code>Object.values(obj)<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u8fd9\u51e0\u5929\u56e0\u4e3a\u5b9e\u4e60\u7684\u539f\u56e0\uff0c\u5f88\u77ed\u7684\u65f6\u95f4\u5185\u7b80\u5355\u7684\u63a5\u89e6\u4e86\u4e00\u4e0b\u524d\u7aef\u3002\u53ea\u80fd\u5728\u6ca1\u5565\u57fa\u7840\u7684\u60c5\u51b5\u4e0b\u55ef\u770bReact\u4e86 \u8bf4\u5b9e\u8bddjs\u6211\u90fd\u4e0d\u4f1a\uff0c\u4f46\u4e95\u5b57\u68cb &#8230;<\/p>","protected":false},"author":1,"featured_media":40,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-7"],"_links":{"self":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":3,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":49,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions\/49"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/media\/40"}],"wp:attachment":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}