{"id":258578,"date":"2024-05-15T12:42:41","date_gmt":"2024-05-15T04:42:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/258578.html"},"modified":"2024-05-15T12:42:48","modified_gmt":"2024-05-15T04:42:48","slug":"%e5%89%8d%e7%ab%af-js-%e4%bb%a3%e7%a0%81%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e5%9b%9e%e8%b0%83%e5%87%bd%e6%95%b0%e5%8f%82%e6%95%b0%e4%bc%a0%e9%80%92","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/258578.html","title":{"rendered":"\u524d\u7aef js \u4ee3\u7801\u5982\u4f55\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u53c2\u6570\u4f20\u9012"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27105514\/1b4fcdc8-67cc-45eb-b6c5-86839bbbde47.webp\" alt=\"\u524d\u7aef js \u4ee3\u7801\u5982\u4f55\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u53c2\u6570\u4f20\u9012\" \/><\/p>\n<p><p>\u56de\u8c03\u51fd\u6570\u5728\u524d\u7aefJS\u4ee3\u7801\u4e2d\u901a\u5e38\u7528\u4e8e\u5904\u7406\u5f02\u6b65\u4e8b\u4ef6\u3001\u64cd\u4f5c\u5b8c\u6210\u540e\u7684\u901a\u77e5\u3001\u6216\u8005\u7279\u5b9a\u7684\u903b\u8f91\u6d41\u7a0b\u3002<strong>\u5728\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u53c2\u6570\u4f20\u9012\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u56de\u8c03\u51fd\u6570\u65f6\u660e\u786e\u5176\u53c2\u6570\u3001\u5728\u8c03\u7528\u56de\u8c03\u51fd\u6570\u65f6\u4f20\u9012\u5b9e\u9645\u7684\u53c2\u6570\u503c\u3001\u6216\u8005\u4f7f\u7528\u95ed\u5305\u6765\u6355\u83b7\u6240\u9700\u53c2\u6570<\/strong>\u3002<\/p>\n<\/p>\n<p><p>\u5f53\u4e00\u4e2a\u51fd\u6570A\u63a5\u53d7\u53e6\u4e00\u4e2a\u51fd\u6570B\u4f5c\u4e3a\u53c2\u6570\uff0c\u51fd\u6570B\u5c31\u79f0\u4e3a\u56de\u8c03\u51fd\u6570\u3002\u4e3a\u4e86\u4f7f\u56de\u8c03\u51fd\u6570\u80fd\u591f\u63a5\u6536\u53c2\u6570\uff0c<strong>\u5728\u5b9a\u4e49\u51fd\u6570A\u65f6\uff0c\u6211\u4eec\u9700\u8981\u8bbe\u8ba1A\u4ee5\u4fbf\u5728\u9002\u5f53\u7684\u65f6\u5019\u6267\u884c\u56de\u8c03\u51fd\u6570B\uff0c\u5e76\u5c06\u6240\u9700\u7684\u6570\u636e\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9B<\/strong>\u3002\u8fd9\u6837\uff0c\u65e0\u8bba\u6570\u636e\u662f\u9759\u6001\u7684\u8fd8\u662f\u52a8\u6001\u751f\u6210\u7684\uff0c\u56de\u8c03\u51fd\u6570\u90fd\u53ef\u4ee5\u5229\u7528\u8fd9\u4e9b\u6570\u636e\u6765\u6267\u884c\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528\u4e00\u4e2a\u5f02\u6b65API\u6765\u4ece\u670d\u52a1\u5668\u8bf7\u6c42\u6570\u636e\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u63d0\u4f9b\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\u6765\u5904\u7406\u670d\u52a1\u5668\u54cd\u5e94\u7684\u6570\u636e\u3002\u5728\u8fd9\u4e2a\u56de\u8c03\u51fd\u6570\u4e2d\uff0c\u4f60\u53ef\u4ee5\u5c06\u670d\u52a1\u5668\u7684\u54cd\u5e94\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\uff0c\u7136\u540e\u6839\u636e\u8fd9\u4e2a\u6570\u636e\u6267\u884c\u4e00\u7cfb\u5217\u7684\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b9a\u4e49\u56de\u8c03\u51fd\u6570<\/p>\n<\/p>\n<p><p>\u5728\u5b9a\u4e49\u56de\u8c03\u51fd\u6570\u65f6\uff0c\u901a\u5e38\u6307\u660e\u9700\u8981\u7684\u53c2\u6570\u3002\u56de\u8c03\u53ef\u80fd\u88ab\u5b9a\u4f4d\u4e3a\u53ef\u63a5\u53d7\u591a\u79cd\u53c2\u6570\uff0c\u5b83\u4eec\u7531\u51fd\u6570\u6267\u884c\u65f6\u7684\u4e0a\u4e0b\u6587\u6240\u51b3\u5b9a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">function fetchData(callback) {<\/p>\n<p>    \/\/ \u5f02\u6b65\u64cd\u4f5c\uff0c\u6bd4\u5982\u53d1\u8d77\u7f51\u7edc\u8bf7\u6c42<\/p>\n<p>    fetch(&#039;https:\/\/api.example.com\/data&#039;)<\/p>\n<p>        .then(response =&gt; response.json())<\/p>\n<p>        .then(data =&gt; {<\/p>\n<p>            \/\/ \u5f53\u6570\u636e\u6210\u529f\u83b7\u53d6\u540e\uff0c\u8c03\u7528callback\u5e76\u4f20\u9012data\u53c2\u6570<\/p>\n<p>            callback(data);<\/p>\n<p>        });<\/p>\n<p>}<\/p>\n<p>function processData(data) {<\/p>\n<p>    \/\/ \u5bf9\u6570\u636e\u8fdb\u884c\u5904\u7406\u7684\u903b\u8f91<\/p>\n<p>    console.log(&#039;Processing data:&#039;, data);<\/p>\n<p>}<\/p>\n<p>\/\/ \u8c03\u7528fetchData\u51fd\u6570\uff0c\u5e76\u5c06processData\u51fd\u6570\u4f5c\u4e3a\u56de\u8c03\u51fd\u6570\u4f20\u5165<\/p>\n<p>fetchData(processData);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4ee5\u4e0a\u4ee3\u7801\u4e2d\uff0c<code>fetchData<\/code> \u51fd\u6570\u5b9a\u4e49\u4e86\u8981\u6267\u884c\u7684\u5f02\u6b65\u64cd\u4f5c\uff0c\u5e76\u9884\u89c1\u5230\u6570\u636e\u5904\u7406\u9700\u8981\u901a\u8fc7\u56de\u8c03\u51fd\u6570\u6765\u5b9e\u73b0\u3002<code>processData<\/code> \u88ab\u7528\u4f5c\u56de\u8c03\uff0c\u5b83\u7684\u53c2\u6570\u7531 <code>fetchData<\/code> \u6765\u63d0\u4f9b\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u95ed\u5305\u6355\u83b7\u53c2\u6570<\/p>\n<\/p>\n<p><p>\u95ed\u5305\u53ef\u4ee5\u6355\u83b7\u5176\u521b\u5efa\u65f6\u4f5c\u7528\u57df\u4e2d\u7684\u53d8\u91cf\uff0c\u901a\u8fc7\u95ed\u5305\uff0c\u4f60\u53ef\u4ee5\u4fdd\u6301\u5bf9\u7279\u5b9a\u6570\u636e\u7684\u8bbf\u95ee\uff0c\u5373\u4f7f\u5728\u5f02\u6b65\u6267\u884c\u7684\u56de\u8c03\u51fd\u6570\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">function createCallback(param) {<\/p>\n<p>    return function(data) {<\/p>\n<p>        \/\/ \u8fd9\u91cc\u7684param\u662fcreateCallback\u65f6\u4f20\u5165\u7684\u53c2\u6570\uff0c\u88ab\u95ed\u5305\u6355\u83b7<\/p>\n<p>        console.log(&#039;Received data:&#039;, data, &#039;with param:&#039;, param);<\/p>\n<p>    };<\/p>\n<p>}<\/p>\n<p>\/\/ \u793a\u4f8b\uff1a\u521b\u5efa\u4e00\u4e2a\u4f20\u9012\u7279\u5b9aparam\u7684\u56de\u8c03\u51fd\u6570<\/p>\n<p>let callbackWithParam = createCallback(&#039;exampleParam&#039;);<\/p>\n<p>fetchData(callbackWithParam);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>createCallback<\/code> \u901a\u8fc7\u95ed\u5305\u673a\u5236\u5141\u8bb8\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u81ea\u5b9a\u4e49\u53c2\u6570\u7684\u56de\u8c03\u3002\u5373\u4f7f\u662f\u5728\u5f02\u6b65\u64cd\u4f5c\u7684\u60c5\u51b5\u4e0b\uff0c<code>param<\/code> \u4e5f\u80fd\u88ab\u6b63\u786e\u5730\u4f20\u9012\u548c\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u52a8\u6001\u4f20\u9012\u53c2\u6570<\/p>\n<\/p>\n<p><p>\u5728\u4e00\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u9700\u8981\u5728\u56de\u8c03\u6267\u884c\u65f6\u52a8\u6001\u5730\u4f20\u9012\u53c2\u6570\u3002\u8fd9\u53ef\u4ee5\u5728\u56de\u8c03\u6267\u884c\u65f6\u901a\u8fc7\u51fd\u6570\u8c03\u7528\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">function fetchData(callback) {<\/p>\n<p>    \/\/ \u5f02\u6b65\u64cd\u4f5c\uff0c\u6bd4\u5982\u53d1\u8d77\u7f51\u7edc\u8bf7\u6c42<\/p>\n<p>    fetch(&#039;https:\/\/api.example.com\/data&#039;)<\/p>\n<p>        .then(response =&gt; response.json())<\/p>\n<p>        .then(data =&gt; {<\/p>\n<p>            \/\/ \u5047\u8bbe\u6211\u4eec\u9700\u8981\u52a8\u6001\u4f20\u9012\u4e00\u4e2a\u53c2\u6570\u7ed9\u56de\u8c03\u51fd\u6570<\/p>\n<p>            let dynamicParam = &#039;dynamicValue&#039;;<\/p>\n<p>            \/\/ \u4f20\u9012data\u548c\u52a8\u6001\u751f\u6210\u7684\u53c2\u6570\u7ed9\u56de\u8c03<\/p>\n<p>            callback(data, dynamicParam);<\/p>\n<p>        });<\/p>\n<p>}<\/p>\n<p>fetchData((data, extraParam) =&gt; {<\/p>\n<p>    \/\/ \u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528data\u548c\u52a8\u6001\u4f20\u9012\u7684\u53c2\u6570<\/p>\n<p>    console.log(&#039;Processed data:&#039;, data, &#039;with extra parameter:&#039;, extraParam);<\/p>\n<p>});<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u56de\u8c03\u51fd\u6570\u4ee5\u533f\u540d\u51fd\u6570\u7684\u5f62\u5f0f\u88ab\u4f20\u9012\uff0c\u5b83\u53ef\u4ee5\u63a5\u53d7\u4ece <code>fetchData<\/code> \u52a8\u6001\u4f20\u6765\u7684\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u56de\u8c03\u4e2d\u7684\u9519\u8bef\u5904\u7406<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u65f6\uff0c\u9519\u8bef\u5904\u7406\u4e5f\u662f\u4e00\u4e2a\u5173\u952e\u70b9\u3002\u901a\u5e38\u91c7\u7528 Node.js \u4e2d\u60ef\u7528\u7684 &quot;error-first&quot; \u56de\u8c03\u98ce\u683c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">function fetchData(callback) {<\/p>\n<p>    fetch(&#039;https:\/\/api.example.com\/data&#039;)<\/p>\n<p>        .then(response =&gt; response.json())<\/p>\n<p>        .then(data =&gt; {<\/p>\n<p>            \/\/ \u65e0\u9519\u8bef\u65f6\uff0c\u5c06null\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u53c2\u6570\u4f20\u9012<\/p>\n<p>            callback(null, data);<\/p>\n<p>        })<\/p>\n<p>        .catch(error =&gt; {<\/p>\n<p>            \/\/ \u51fa\u73b0\u9519\u8bef\u65f6\uff0c\u5c06error\u5bf9\u8c61\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u53c2\u6570\u4f20\u9012<\/p>\n<p>            callback(error, null);<\/p>\n<p>        });<\/p>\n<p>}<\/p>\n<p>fetchData((error, data) =&gt; {<\/p>\n<p>    if (error) {<\/p>\n<p>        console.error(&#039;An error occurred:&#039;, error);<\/p>\n<p>    } else {<\/p>\n<p>        console.log(&#039;Processed data:&#039;, data);<\/p>\n<p>    }<\/p>\n<p>});<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7\u5c06\u9519\u8bef\u5bf9\u8c61\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u53c2\u6570\u6765\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u4e2d\u53ef\u80fd\u53d1\u751f\u7684\u9519\u8bef\u3002\u8fd9\u6837\u7684\u7ea6\u5b9a\u5bf9\u4e8e\u7ba1\u7406\u5f02\u6b65\u4ee3\u7801\u4e2d\u7684\u9519\u8bef\u662f\u975e\u5e38\u6709\u7528\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u95ee\u98981\uff1a\u56de\u8c03\u51fd\u6570\u53c2\u6570\u4f20\u9012\u5728\u524d\u7aef JavaScript \u4e2d\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\n\u56de\u7b54\uff1a\u5728\u524d\u7aef JavaScript \u4e2d\uff0c\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u53c2\u6570\u4f20\u9012\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5176\u4e2d\u4e00\u79cd\u5e38\u7528\u7684\u65b9\u5f0f\u662f\u4f7f\u7528\u95ed\u5305\u3002\u901a\u8fc7\u4f7f\u7528\u95ed\u5305\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u53d8\u91cf\u5d4c\u5957\u5728\u56de\u8c03\u51fd\u6570\u4e2d\uff0c\u4ece\u800c\u5b9e\u73b0\u53c2\u6570\u7684\u4f20\u9012\u3002\u53e6\u4e00\u79cd\u65b9\u5f0f\u662f\u4f7f\u7528ES6\u65b0\u589e\u7684\u7bad\u5934\u51fd\u6570\uff0c\u7bad\u5934\u51fd\u6570\u7684\u7279\u6027\u53ef\u4ee5\u4fdd\u7559\u5916\u90e8\u51fd\u6570\u4f5c\u7528\u57df\u7684this\u503c\uff0c\u5728\u6b64\u57fa\u7840\u4e0a\u5b9e\u73b0\u53c2\u6570\u4f20\u9012\u3002<\/p>\n<p><strong>\u95ee\u98982\uff1a\u5982\u4f55\u5728\u524d\u7aef JavaScript \u4e2d\u4f7f\u7528\u56de\u8c03\u51fd\u6570\u8fdb\u884c\u53c2\u6570\u4f20\u9012\u548c\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\uff1f<\/strong><br \/>\n\u56de\u7b54\uff1a\u4e3a\u4e86\u5b9e\u73b0\u53c2\u6570\u4f20\u9012\u548c\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u56de\u8c03\u51fd\u6570\u4e2d\u4f20\u9012\u9700\u8981\u5904\u7406\u7684\u6570\u636e\u4f5c\u4e3a\u53c2\u6570\uff0c\u5e76\u5728\u9002\u5f53\u7684\u65f6\u673a\u8c03\u7528\u56de\u8c03\u51fd\u6570\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u5f02\u6b65\u64cd\u4f5c\u5b8c\u6210\u540e\uff0c\u5c06\u5904\u7406\u7ed3\u679c\u4f20\u9012\u7ed9\u56de\u8c03\u51fd\u6570\u8fdb\u884c\u540e\u7eed\u5904\u7406\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5229\u7528\u56de\u8c03\u51fd\u6570\u6765\u5904\u7406AJAX\u8bf7\u6c42\u3001\u5b9a\u65f6\u5668\u7b49\u5f02\u6b65\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u95ee\u98983\uff1a\u56de\u8c03\u51fd\u6570\u53c2\u6570\u4f20\u9012\u662f\u5426\u6709\u5176\u4ed6\u66ff\u4ee3\u65b9\u6848\uff1f<\/strong><br \/>\n\u56de\u7b54\uff1a\u9664\u4e86\u4f7f\u7528\u56de\u8c03\u51fd\u6570\u8fdb\u884c\u53c2\u6570\u4f20\u9012\u5916\uff0c\u524d\u7aef JavaScript \u8fd8\u6709\u5176\u4ed6\u66ff\u4ee3\u65b9\u6848\u3002\u4e00\u79cd\u5e38\u89c1\u7684\u66ff\u4ee3\u65b9\u6848\u662f\u4f7f\u7528Promise\u5bf9\u8c61\u3002Promise\u662f\u4e00\u79cd\u5f02\u6b65\u7f16\u7a0b\u6a21\u578b\uff0c\u53ef\u4ee5\u901a\u8fc7\u94fe\u5f0f\u8c03\u7528\u7684\u65b9\u5f0f\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u66f4\u52a0\u76f4\u89c2\u7684API\uff0c\u4f7f\u5f97\u4ee3\u7801\u66f4\u6613\u8bfb\u3002\u53e6\u5916\uff0cES7\u4e2d\u5f15\u5165\u7684async\/aw<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>t\u5173\u952e\u5b57\u4e5f\u662f\u4e00\u79cd\u66ff\u4ee3\u65b9\u6848\uff0c\u5b83\u53ef\u4ee5\u8ba9\u5f02\u6b65\u4ee3\u7801\u770b\u8d77\u6765\u66f4\u50cf\u540c\u6b65\u4ee3\u7801\uff0c\u63d0\u4f9b\u4e86\u66f4\u7b80\u6d01\u7684\u8bed\u6cd5\u6765\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u3002\u65e0\u8bba\u662fPromise\u8fd8\u662fasync\/await\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u66ff\u4ee3\u56de\u8c03\u51fd\u6570\u8fdb\u884c\u53c2\u6570\u4f20\u9012\u548c\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u56de\u8c03\u51fd\u6570\u5728\u524d\u7aefJS\u4ee3\u7801\u4e2d\u901a\u5e38\u7528\u4e8e\u5904\u7406\u5f02\u6b65\u4e8b\u4ef6\u3001\u64cd\u4f5c\u5b8c\u6210\u540e\u7684\u901a\u77e5\u3001\u6216\u8005\u7279\u5b9a\u7684\u903b\u8f91\u6d41\u7a0b\u3002\u5728\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u53c2\u6570\u4f20\u9012\u65f6\uff0c [&hellip;]","protected":false},"author":3,"featured_media":258586,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/258578"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=258578"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/258578\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/258586"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=258578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=258578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=258578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}