{"id":1132537,"date":"2025-01-08T20:58:14","date_gmt":"2025-01-08T12:58:14","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1132537.html"},"modified":"2025-01-08T20:58:17","modified_gmt":"2025-01-08T12:58:17","slug":"python%e5%a6%82%e4%bd%95%e5%b0%86%e6%95%b0%e6%8d%ae%e5%8f%aapost%e4%b8%80%e6%ac%a1","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1132537.html","title":{"rendered":"python\u5982\u4f55\u5c06\u6570\u636e\u53eapost\u4e00\u6b21"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102037\/2cd6c108-9be9-4ac0-a933-4fc9175a146e.webp\" alt=\"python\u5982\u4f55\u5c06\u6570\u636e\u53eapost\u4e00\u6b21\" \/><\/p>\n<p><p> <strong>Python\u4e2d\u786e\u4fdd\u6570\u636e\u53eaPOST\u4e00\u6b21\u7684\u5173\u952e\u5728\u4e8e\uff1a\u4f7f\u7528\u8bf7\u6c42\u5e93\u3001\u786e\u4fdd\u552f\u4e00\u6807\u8bc6\u3001\u5b9e\u73b0\u91cd\u8bd5\u673a\u5236\u3001\u4f7f\u7528\u72b6\u6001\u7ba1\u7406\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u8bf7\u6c42\u5e93<\/strong>\u662f\u6700\u4e3a\u91cd\u8981\u7684\u5de5\u5177\uff0c\u901a\u8fc7\u5b83\u53ef\u4ee5\u7b80\u6d01\u5730\u5b9e\u73b0HTTP POST\u8bf7\u6c42\uff0c\u5e76\u65b9\u4fbf\u5730\u7ba1\u7406\u8bf7\u6c42\u7684\u72b6\u6001\u3002\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u7684\u8bf7\u6c42\u5e93\u6765\u786e\u4fdd\u6570\u636e\u53eaPOST\u4e00\u6b21\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u4f7f\u7528\u8bf7\u6c42\u5e93<\/strong><\/h2>\n<p><p>Python\u4e2d\u6700\u5e38\u7528\u7684\u8bf7\u6c42\u5e93\u662f<code>requests<\/code>\u5e93\uff0c\u5b83\u7b80\u6d01\u6613\u7528\uff0c\u9002\u7528\u4e8e\u53d1\u9001HTTP\u8bf7\u6c42\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u57fa\u672c\u7684POST\u8bf7\u6c42\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>url = &#39;http:\/\/example.com\/api&#39;<\/p>\n<p>data = {&#39;key&#39;: &#39;value&#39;}<\/p>\n<p>response = requests.post(url, data=data)<\/p>\n<p>print(response.status_code)<\/p>\n<p>print(response.text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u4ee3\u7801\uff0c\u6211\u4eec\u53ef\u4ee5\u7b80\u5355\u5730\u53d1\u9001\u4e00\u4e2aPOST\u8bf7\u6c42\u3002\u4e3a\u4e86\u786e\u4fdd\u6570\u636e\u53eaPOST\u4e00\u6b21\uff0c\u6211\u4eec\u9700\u8981\u4e00\u4e9b\u989d\u5916\u7684\u6b65\u9aa4\u548c\u7b56\u7565\u3002<\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001\u786e\u4fdd\u552f\u4e00\u6807\u8bc6<\/strong><\/h2>\n<p><p>\u4e3a\u4e86\u9632\u6b62\u91cd\u590dPOST\uff0c\u786e\u4fdd\u6bcf\u4e2aPOST\u8bf7\u6c42\u90fd\u6709\u4e00\u4e2a\u552f\u4e00\u6807\u8bc6\u662f\u5173\u952e\u3002\u53ef\u4ee5\u4f7f\u7528UUID\uff08Universally Unique Identifier\uff09\u6765\u751f\u6210\u552f\u4e00\u6807\u8bc6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import uuid<\/p>\n<p>unique_id = str(uuid.uuid4())<\/p>\n<p>data = {&#39;id&#39;: unique_id, &#39;key&#39;: &#39;value&#39;}<\/p>\n<p>response = requests.post(url, data=data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u786e\u4fdd\u6bcf\u6b21POST\u8bf7\u6c42\u90fd\u6709\u4e00\u4e2a\u552f\u4e00\u7684<code>id<\/code>\uff0c\u670d\u52a1\u5668\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a<code>id<\/code>\u6765\u5224\u65ad\u8bf7\u6c42\u662f\u5426\u91cd\u590d\u3002<\/p>\n<\/p>\n<h2><strong>\u4e09\u3001\u5b9e\u73b0\u91cd\u8bd5\u673a\u5236<\/strong><\/h2>\n<p><p>\u5728\u7f51\u7edc\u73af\u5883\u4e0d\u7a33\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0cPOST\u8bf7\u6c42\u53ef\u80fd\u4f1a\u5931\u8d25\u3002\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e2a\u91cd\u8bd5\u673a\u5236\uff0c\u786e\u4fdd\u8bf7\u6c42\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>from requests.exceptions import RequestException<\/p>\n<p>import time<\/p>\n<p>def post_with_retry(url, data, retries=3, delay=5):<\/p>\n<p>    for attempt in range(retries):<\/p>\n<p>        try:<\/p>\n<p>            response = requests.post(url, data=data)<\/p>\n<p>            if response.status_code == 200:<\/p>\n<p>                return response<\/p>\n<p>            else:<\/p>\n<p>                print(f&quot;Attempt {attempt + 1} f<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>led with status code {response.status_code}&quot;)<\/p>\n<p>        except RequestException as e:<\/p>\n<p>            print(f&quot;Attempt {attempt + 1} failed with exception: {e}&quot;)<\/p>\n<p>        time.sleep(delay)<\/p>\n<p>    return None<\/p>\n<p>url = &#39;http:\/\/example.com\/api&#39;<\/p>\n<p>data = {&#39;key&#39;: &#39;value&#39;}<\/p>\n<p>response = post_with_retry(url, data)<\/p>\n<p>if response:<\/p>\n<p>    print(&quot;POST succeeded&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;POST failed after retries&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u56db\u3001\u4f7f\u7528\u72b6\u6001\u7ba1\u7406<\/strong><\/h2>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5728\u672c\u5730\u5b58\u50a8POST\u8bf7\u6c42\u7684\u72b6\u6001\uff0c\u4ee5\u4fbf\u5728\u7a0b\u5e8f\u91cd\u542f\u540e\u7ee7\u7eed\u672a\u5b8c\u6210\u7684\u8bf7\u6c42\u3002\u53ef\u4ee5\u4f7f\u7528\u6587\u4ef6\u6216\u6570\u636e\u5e93\u6765\u7ba1\u7406\u72b6\u6001\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>import json<\/p>\n<p>import os<\/p>\n<p>def save_state(file_path, state):<\/p>\n<p>    with open(file_path, &#39;w&#39;) as f:<\/p>\n<p>        json.dump(state, f)<\/p>\n<p>def load_state(file_path):<\/p>\n<p>    if os.path.exists(file_path):<\/p>\n<p>        with open(file_path, &#39;r&#39;) as f:<\/p>\n<p>            return json.load(f)<\/p>\n<p>    return None<\/p>\n<p>def post_with_state(url, data, state_file=&#39;state.json&#39;):<\/p>\n<p>    state = load_state(state_file)<\/p>\n<p>    if state and state.get(&#39;posted&#39;):<\/p>\n<p>        print(&quot;Data already posted&quot;)<\/p>\n<p>        return<\/p>\n<p>    response = requests.post(url, data=data)<\/p>\n<p>    if response.status_code == 200:<\/p>\n<p>        save_state(state_file, {&#39;posted&#39;: True})<\/p>\n<p>        print(&quot;POST succeeded&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(&quot;POST failed&quot;)<\/p>\n<p>url = &#39;http:\/\/example.com\/api&#39;<\/p>\n<p>data = {&#39;key&#39;: &#39;value&#39;}<\/p>\n<p>post_with_state(url, data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u786e\u4fdd\u6570\u636e\u5728Python\u4e2d\u53eaPOST\u4e00\u6b21\uff0c\u5e76\u5904\u7406\u53ef\u80fd\u51fa\u73b0\u7684\u5404\u79cd\u60c5\u51b5\u3002\u5e0c\u671b\u8fd9\u4e9b\u7b56\u7565\u548c\u793a\u4f8b\u4ee3\u7801\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u4e94\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u63a2\u8ba8\u4e86Python\u4e2d\u5982\u4f55\u786e\u4fdd\u6570\u636e\u53eaPOST\u4e00\u6b21\u7684\u51e0\u79cd\u7b56\u7565\u548c\u65b9\u6cd5\u3002\u8fd9\u4e9b\u7b56\u7565\u5305\u62ec\u4f7f\u7528\u8bf7\u6c42\u5e93\u3001\u786e\u4fdd\u552f\u4e00\u6807\u8bc6\u3001\u5b9e\u73b0\u91cd\u8bd5\u673a\u5236\u4ee5\u53ca\u4f7f\u7528\u72b6\u6001\u7ba1\u7406\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u548c\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u6700\u9002\u5408\u4f60\u9700\u6c42\u7684\u65b9\u6cd5\u53ef\u4ee5\u6709\u6548\u5730\u786e\u4fdd\u6570\u636e\u7684\u552f\u4e00\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n<\/p>\n<p><h2>\u4f7f\u7528\u8bf7\u6c42\u5e93<\/h2>\n<\/p>\n<p><p><code>requests<\/code>\u5e93\u662fPython\u4e2d\u6700\u5e38\u7528\u7684HTTP\u8bf7\u6c42\u5e93\uff0c\u5b83\u7b80\u6d01\u6613\u7528\uff0c\u9002\u7528\u4e8e\u53d1\u9001\u5404\u79cdHTTP\u8bf7\u6c42\u3002\u901a\u8fc7<code>requests.post()<\/code>\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u53d1\u9001POST\u8bf7\u6c42\u3002<\/p>\n<\/p>\n<p><h2>\u786e\u4fdd\u552f\u4e00\u6807\u8bc6<\/h2>\n<\/p>\n<p><p>\u4e3a\u4e86\u9632\u6b62\u91cd\u590dPOST\uff0c\u786e\u4fdd\u6bcf\u4e2aPOST\u8bf7\u6c42\u90fd\u6709\u4e00\u4e2a\u552f\u4e00\u6807\u8bc6\u662f\u5173\u952e\u3002\u53ef\u4ee5\u4f7f\u7528UUID\u6765\u751f\u6210\u552f\u4e00\u6807\u8bc6\uff0c\u6bcf\u6b21POST\u8bf7\u6c42\u90fd\u5e26\u4e0a\u8fd9\u4e2a\u552f\u4e00\u6807\u8bc6\uff0c\u670d\u52a1\u5668\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u6807\u8bc6\u6765\u5224\u65ad\u8bf7\u6c42\u662f\u5426\u91cd\u590d\u3002<\/p>\n<\/p>\n<p><h2>\u5b9e\u73b0\u91cd\u8bd5\u673a\u5236<\/h2>\n<\/p>\n<p><p>\u5728\u7f51\u7edc\u73af\u5883\u4e0d\u7a33\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0cPOST\u8bf7\u6c42\u53ef\u80fd\u4f1a\u5931\u8d25\u3002\u901a\u8fc7\u5b9e\u73b0\u4e00\u4e2a\u91cd\u8bd5\u673a\u5236\uff0c\u53ef\u4ee5\u786e\u4fdd\u8bf7\u6c42\u5728\u5931\u8d25\u540e\u518d\u6b21\u5c1d\u8bd5\uff0c\u76f4\u5230\u6210\u529f\u4e3a\u6b62\u3002\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u91cd\u8bd5\u6b21\u6570\u548c\u5ef6\u8fdf\u65f6\u95f4\uff0c\u4ee5\u5e73\u8861\u8bf7\u6c42\u6210\u529f\u7387\u548c\u7a0b\u5e8f\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h2>\u4f7f\u7528\u72b6\u6001\u7ba1\u7406<\/h2>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5728\u672c\u5730\u5b58\u50a8POST\u8bf7\u6c42\u7684\u72b6\u6001\uff0c\u4ee5\u4fbf\u5728\u7a0b\u5e8f\u91cd\u542f\u540e\u7ee7\u7eed\u672a\u5b8c\u6210\u7684\u8bf7\u6c42\u3002\u53ef\u4ee5\u4f7f\u7528\u6587\u4ef6\u6216\u6570\u636e\u5e93\u6765\u7ba1\u7406\u72b6\u6001\uff0c\u786e\u4fdd\u8bf7\u6c42\u7684\u552f\u4e00\u6027\u548c\u6301\u4e45\u6027\u3002<\/p>\n<\/p>\n<p><h2>\u5b9e\u8df5\u4e2d\u7684\u6ce8\u610f\u4e8b\u9879<\/h2>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u9047\u5230\u66f4\u591a\u590d\u6742\u7684\u60c5\u51b5\uff0c\u5982\u9700\u8981\u5904\u7406\u5927\u6279\u91cf\u6570\u636e\u3001\u4e0e\u591a\u79cd\u7c7b\u578b\u7684\u670d\u52a1\u5668\u4ea4\u4e92\u7b49\u3002\u5728\u8fd9\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u7ed3\u5408\u4e0a\u8ff0\u7b56\u7565\uff0c\u7075\u6d3b\u8c03\u6574\u548c\u4f18\u5316\u4ee3\u7801\uff0c\u4ee5\u6ee1\u8db3\u5b9e\u9645\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\u548c\u7b56\u7565\uff0c\u6211\u4eec\u53ef\u4ee5\u6709\u6548\u5730\u786e\u4fdd\u6570\u636e\u5728Python\u4e2d\u53eaPOST\u4e00\u6b21\uff0c\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u5b89\u5168\u6027\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u795d\u4f60\u5728Python\u7f16\u7a0b\u4e2d\u53d6\u5f97\u66f4\u5927\u7684\u8fdb\u6b65\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u786e\u4fdd\u5728Python\u4e2d\u53ea\u53d1\u9001\u4e00\u6b21POST\u8bf7\u6c42\uff1f<\/strong><br \/>\u8981\u786e\u4fdd\u53ea\u53d1\u9001\u4e00\u6b21POST\u8bf7\u6c42\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u72b6\u6001\u6807\u5fd7\u6216\u8005\u4f7f\u7528\u7279\u5b9a\u7684\u6761\u4ef6\u6765\u63a7\u5236\u8bf7\u6c42\u7684\u53d1\u9001\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5728\u53d1\u9001\u8bf7\u6c42\u540e\u8bbe\u7f6e\u4e00\u4e2a\u6807\u5fd7\u53d8\u91cf\uff0c\u540e\u7eed\u4ee3\u7801\u68c0\u67e5\u8fd9\u4e2a\u6807\u5fd7\uff0c\u5982\u679c\u5df2\u7ecf\u53d1\u9001\u8fc7\u8bf7\u6c42\uff0c\u5219\u4e0d\u518d\u53d1\u9001\u3002\u53e6\u4e00\u4e2a\u65b9\u6cd5\u662f\u5c06\u8bf7\u6c42\u5c01\u88c5\u5728\u4e00\u4e2a\u51fd\u6570\u4e2d\uff0c\u786e\u4fdd\u5728\u8c03\u7528\u51fd\u6570\u65f6\u8fdb\u884c\u5408\u9002\u7684\u68c0\u67e5\u3002<\/p>\n<p><strong>\u4f7f\u7528\u54ea\u4e9b\u5e93\u53ef\u4ee5\u7b80\u5316Python\u4e2d\u7684POST\u8bf7\u6c42\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c<code>requests<\/code>\u5e93\u662f\u6700\u5e38\u7528\u7684\u5e93\u4e4b\u4e00\uff0c\u80fd\u591f\u7b80\u5316HTTP\u8bf7\u6c42\u7684\u53d1\u9001\u8fc7\u7a0b\u3002\u4f7f\u7528<code>requests.post()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u53d1\u9001POST\u8bf7\u6c42\uff0c\u5e76\u4e14\u652f\u6301\u5404\u79cd\u53c2\u6570\u914d\u7f6e\uff0c\u5982headers\u3001data\u548cjson\u7b49\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528<code>httpx<\/code>\u5e93\uff0c\u8fd9\u4e5f\u662f\u4e00\u4e2a\u5f02\u6b65HTTP\u8bf7\u6c42\u5e93\uff0c\u9002\u5408\u9700\u8981\u5e76\u53d1\u8bf7\u6c42\u7684\u573a\u666f\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406POST\u8bf7\u6c42\u7684\u91cd\u590d\u53d1\u9001\u95ee\u9898\uff1f<\/strong><br \/>\u5904\u7406POST\u8bf7\u6c42\u7684\u91cd\u590d\u53d1\u9001\u95ee\u9898\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\u3002\u4e00\u79cd\u5e38\u89c1\u7684\u505a\u6cd5\u662f\u5728\u670d\u52a1\u5668\u7aef\u751f\u6210\u552f\u4e00\u6807\u8bc6\u7b26\uff08\u5982UUID\uff09\uff0c\u5e76\u5728\u8bf7\u6c42\u4e2d\u643a\u5e26\u8be5\u6807\u8bc6\u7b26\u3002\u670d\u52a1\u5668\u5728\u63a5\u6536\u5230\u8bf7\u6c42\u65f6\u5148\u68c0\u67e5\u8fd9\u4e2a\u6807\u8bc6\u7b26\u662f\u5426\u5df2\u7ecf\u5904\u7406\u8fc7\uff0c\u4ece\u800c\u907f\u514d\u91cd\u590d\u5904\u7406\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u7f13\u5b58\u673a\u5236\u6765\u5b58\u50a8\u5df2\u53d1\u9001\u8bf7\u6c42\u7684\u4fe1\u606f\uff0c\u786e\u4fdd\u540c\u4e00\u8bf7\u6c42\u4e0d\u4f1a\u88ab\u91cd\u590d\u6267\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u4e2d\u786e\u4fdd\u6570\u636e\u53eaPOST\u4e00\u6b21\u7684\u5173\u952e\u5728\u4e8e\uff1a\u4f7f\u7528\u8bf7\u6c42\u5e93\u3001\u786e\u4fdd\u552f\u4e00\u6807\u8bc6\u3001\u5b9e\u73b0\u91cd\u8bd5\u673a\u5236\u3001\u4f7f\u7528\u72b6\u6001\u7ba1\u7406\u3002 \u5176\u4e2d\uff0c [&hellip;]","protected":false},"author":3,"featured_media":1132542,"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\/1132537"}],"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=1132537"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1132537\/revisions"}],"predecessor-version":[{"id":1132546,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1132537\/revisions\/1132546"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1132542"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1132537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1132537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1132537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}