{"id":936337,"date":"2024-12-26T19:22:22","date_gmt":"2024-12-26T11:22:22","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/936337.html"},"modified":"2024-12-26T19:22:24","modified_gmt":"2024-12-26T11:22:24","slug":"python%e5%a6%82%e4%bd%95%e5%88%87%e5%88%86list","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/936337.html","title":{"rendered":"python\u5982\u4f55\u5207\u5206list"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072557\/d13bcc23-c323-4b8f-b20d-6a7e05d7fb93.webp\" alt=\"python\u5982\u4f55\u5207\u5206list\" \/><\/p>\n<p><p> <strong>Python\u4e2d\u5207\u5206\u5217\u8868\u7684\u65b9\u6cd5\u4e3b\u8981\u5305\u62ec\uff1a\u4f7f\u7528\u5207\u7247\u64cd\u4f5c\u7b26\u3001\u5229\u7528\u8fed\u4ee3\u5668\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u3001\u901a\u8fc7\u5faa\u73af\u548c\u6761\u4ef6\u5224\u65ad\u3001\u7ed3\u5408enumerate\u51fd\u6570\u3002\u901a\u8fc7\u5207\u7247\u64cd\u4f5c\u53ef\u4ee5\u5feb\u901f\u800c\u9ad8\u6548\u5730\u83b7\u53d6\u5217\u8868\u7684\u5b50\u5217\u8868\uff0c\u5177\u4f53\u65b9\u6cd5\u662f\u6307\u5b9a\u5f00\u59cb\u548c\u7ed3\u675f\u7684\u7d22\u5f15\u503c\uff0c\u5e76\u4f7f\u7528\u6b65\u957f\u53c2\u6570\u6765\u66f4\u7ec6\u5316\u5730\u63a7\u5236\u5207\u5206\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5217\u8868\u662f\u4e00\u4e2a\u975e\u5e38\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5207\u5206\u5217\u8868\u7684\u9700\u6c42\u4e5f\u65f6\u5e38\u51fa\u73b0\u3002\u4e0d\u540c\u7684\u573a\u666f\u6709\u4e0d\u540c\u7684\u5207\u5206\u65b9\u6cd5\uff0c\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u6bcf\u79cd\u65b9\u6cd5\u7684\u4f7f\u7528\u573a\u666f\u548c\u5177\u4f53\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5207\u7247\u64cd\u4f5c\u7b26<\/h3>\n<\/p>\n<p><p>Python\u7684\u5207\u7247\u64cd\u4f5c\u7b26\u662f\u5207\u5206\u5217\u8868\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u3002\u5207\u7247\u64cd\u4f5c\u7b26\u7684\u57fa\u672c\u5f62\u5f0f\u4e3a<code>list[start:stop:step]<\/code>\uff0c\u5176\u4e2d<code>start<\/code>\u662f\u5f00\u59cb\u7d22\u5f15\uff0c<code>stop<\/code>\u662f\u7ed3\u675f\u7d22\u5f15\uff08\u4e0d\u5305\u542b\uff09\uff0c<code>step<\/code>\u662f\u6b65\u957f\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u7840\u5207\u7247<\/h4>\n<\/p>\n<p><p>\u57fa\u7840\u5207\u7247\u662f\u6700\u7b80\u5355\u7684\u5f62\u5f0f\uff0c\u53ea\u9700\u6307\u5b9a\u5f00\u59cb\u548c\u7684\u4f5c\u7528\u3002  <\/p>\n<\/p>\n<ul>\n<li><strong>\u5206\u7247\u64cd\u4f5c\u7b26\uff08Slicing Operator\uff09<\/strong><br \/>Python\u4e2d\u6700\u5e38\u7528\u7684\u5207\u5206\u5217\u8868\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5206\u7247\u64cd\u4f5c\u7b26\u201c\uff1a\u201d\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u5f00\u59cb\u548c\u7ed3\u675f\u7684\u7d22\u5f15\u6765\u83b7\u53d6\u5217\u8868\u7684\u5b50\u5217\u8868\u3002\u4f8b\u5982 <code>list[start:end]<\/code> \u5c06\u8fd4\u56de\u4e00\u4e2a\u4ece<code>start<\/code>\u7d22\u5f15\u5230<code>end<\/code>\u7d22\u5f15\u7684\u5b50\u5217\u8868\uff08\u4e0d\u5305\u62ec<code>end<\/code>\u7d22\u5f15\u7684\u5143\u7d20\uff09\u3002\u5982\u679c\u7701\u7565<code>start<\/code>\uff0c\u5219\u9ed8\u8ba4\u4ece\u5217\u8868\u5f00\u5934\u5f00\u59cb\uff1b\u5982\u679c\u7701\u7565<code>end<\/code>\uff0c\u5219\u4e00\u76f4\u5230\u5217\u8868\u7ed3\u5c3e\u3002\u5206\u7247\u64cd\u4f5c\u8fd8\u5141\u8bb8\u4f7f\u7528\u6b65\u957f\u53c2\u6570\uff0c\u6307\u5b9a\u83b7\u53d6\u5143\u7d20\u65f6\u7684\u6b65\u957f\u3002<\/li>\n<\/ul>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5207\u7247\u64cd\u4f5c\u7b26<\/h3>\n<\/p>\n<p><p>Python\u4e2d\u7684\u5207\u7247\u64cd\u4f5c\u7b26\u662f\u4e00\u79cd\u5f3a\u5927\u4e14\u7075\u6d3b\u7684\u5de5\u5177\uff0c\u5141\u8bb8\u4f60\u4ece\u5217\u8868\u4e2d\u63d0\u53d6\u5b50\u5217\u8868\u3002\u5b83\u7684\u57fa\u672c\u5f62\u5f0f\u662f<code>list[start:end:step]<\/code>\uff0c\u5176\u4e2d<code>start<\/code>\u662f\u8d77\u59cb\u7d22\u5f15\uff0c<code>end<\/code>\u662f\u7ed3\u675f\u7d22\u5f15\uff08\u4e0d\u5305\u62ec\u8be5\u7d22\u5f15\uff09\uff0c<code>step<\/code>\u662f\u6b65\u957f\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u672c\u5207\u7247<\/h4>\n<\/p>\n<p><p>\u6700\u5e38\u7528\u7684\u5207\u7247\u64cd\u4f5c\u662f\u901a\u8fc7\u6307\u5b9a\u5f00\u59cb\u548c\u7ed3\u675f\u7d22\u5f15\u6765\u83b7\u53d6\u5b50\u5217\u8868\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, \u7ea7\u522b\u7684\u8de8\u57df\uff0c\u5141\u8bb8\u7279\u5b9a\u7684\u524d\u7aef\u5e94\u7528\u7a0b\u5e8f\u8bbf\u95ee\u5b83\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\u6765\u542f\u7528 CORS\uff1a<\/p>\n<p>```python<\/p>\n<p>from flask import Flask<\/p>\n<p>from flask_cors import CORS<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>CORS(app)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u4f7f\u5e94\u7528\u7a0b\u5e8f\u5141\u8bb8\u6240\u6709\u6e90\u7684\u8bf7\u6c42\u3002\u5982\u679c\u53ea\u60f3\u5141\u8bb8\u7279\u5b9a\u7684\u57df\u540d\u8bbf\u95ee\uff0c\u53ef\u4ee5\u6307\u5b9a <code>origins<\/code> \u53c2\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">CORS(app, resources={r&quot;\/*&quot;: {&quot;origins&quot;: &quot;http:\/\/example.com&quot;}})<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528 JSONP \u5b9e\u73b0\u8de8\u57df<\/h3>\n<\/p>\n<p><p>JSONP \u662f\u4e00\u79cd\u5e38\u7528\u7684\u8de8\u57df\u65b9\u6cd5\uff0c\u5b83\u901a\u8fc7\u52a8\u6001\u521b\u5efa <code>&lt;script&gt;<\/code> \u6807\u7b7e\u6765\u5b9e\u73b0\u8de8\u57df\u8bf7\u6c42\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u5df2\u7ecf\u4e0d\u518d\u662f\u73b0\u4ee3\u5f00\u53d1\u4e2d\u63a8\u8350\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4ecd\u7136\u6709\u6548\u3002\u5bf9\u4e8e Flask \u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u65b9\u5f0f\u5b9e\u73b0 JSONP\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from flask import Flask, jsonify, request<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route(&#39;\/api\/data&#39;)<\/p>\n<p>def data():<\/p>\n<p>    response = jsonify({&#39;key&#39;: &#39;value&#39;})<\/p>\n<p>    if &#39;callback&#39; in request.args:<\/p>\n<p>        response.data = str(request.args[&#39;callback&#39;]) + &#39;(&#39; + response.data.decode(&#39;utf8&#39;) + &#39;)&#39;<\/p>\n<p>        response = requests.post(<\/p>\n<p>        url, json=json_data, headers=headers, timeout=timeout<\/p>\n<p>    )<\/p>\n<p>    # Verify if the request was successful<\/p>\n<p>    if response.status_code == 200:<\/p>\n<p>        return response.json()<\/p>\n<p>    else:<\/p>\n<p>        response.r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se_for_status()<\/p>\n<h2><strong>Example usage:<\/strong><\/h2>\n<p>url = &quot;https:\/\/api.example.com\/endpoint&quot;<\/p>\n<p>data = {<\/p>\n<p>    &quot;key1&quot;: &quot;value1&quot;,<\/p>\n<p>    &quot;key2&quot;: &quot;value2&quot;<\/p>\n<p>}<\/p>\n<p>headers = {<\/p>\n<p>    &quot;Authorization&quot;: &quot;Bearer your_token_here&quot;<\/p>\n<p>}<\/p>\n<p>response = make_post_request(url, data, headers)<\/p>\n<p>print(response)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5904\u7406 POST \u8bf7\u6c42\u54cd\u5e94<\/h3>\n<\/p>\n<p><p>\u5728\u53d1\u9001 POST \u8bf7\u6c42\u4e4b\u540e\uff0c\u670d\u52a1\u5668\u4f1a\u8fd4\u56de\u4e00\u4e2a\u54cd\u5e94\u3002\u6211\u4eec\u9700\u8981\u89e3\u6790\u8fd9\u4e2a\u54cd\u5e94\u4ee5\u83b7\u53d6\u6709\u7528\u7684\u4fe1\u606f\u3002\u901a\u5e38\uff0c\u54cd\u5e94\u4f1a\u4ee5 JSON \u683c\u5f0f\u8fd4\u56de\uff0c\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528 <code>response.json()<\/code> \u65b9\u6cd5\u5c06\u54cd\u5e94\u8f6c\u6362\u4e3a Python \u5b57\u5178\u3002\u8fd9\u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u63d0\u53d6\u548c\u4f7f\u7528\u8fd4\u56de\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u9519\u8bef\u4e0e\u5f02\u5e38<\/h3>\n<\/p>\n<p><p>\u5728\u5904\u7406\u7f51\u7edc\u8bf7\u6c42\u65f6\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u5404\u79cd\u9519\u8bef\uff0c\u4f8b\u5982\u7f51\u7edc\u8fde\u63a5\u5931\u8d25\u3001\u8bf7\u6c42\u8d85\u65f6\u3001\u670d\u52a1\u5668\u9519\u8bef\u7b49\u3002\u4e3a\u4e86\u63d0\u9ad8\u4ee3\u7801\u7684\u9c81\u68d2\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5f02\u5e38\u5904\u7406\u6765\u6355\u83b7\u548c\u5904\u7406\u8fd9\u4e9b\u9519\u8bef\u3002<code>requests<\/code> \u5e93\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5185\u7f6e\u7684\u5f02\u5e38\u7c7b\uff0c\u5982 <code>requests.exceptions.RequestException<\/code>\uff0c\u53ef\u4ee5\u6355\u83b7\u6240\u6709\u8bf7\u6c42\u76f8\u5173\u7684\u5f02\u5e38\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">try:<\/p>\n<p>    response = requests.post(url, json=json_data, headers=headers, timeout=timeout)<\/p>\n<p>    response.raise_for_status()  # Raise an exception for HTTP errors<\/p>\n<p>except requests.exceptions.Timeout:<\/p>\n<p>    print(&quot;The request timed out&quot;)<\/p>\n<p>except requests.exceptions.RequestException as e:<\/p>\n<p>    print(f&quot;An error occurred: {e}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u4f18\u5316 POST \u8bf7\u6c42<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8 POST \u8bf7\u6c42\u7684\u6548\u7387\uff0c\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u4f18\u5316\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u5f02\u6b65\u8bf7\u6c42\uff1a<\/strong> \u4f7f\u7528\u5f02\u6b65\u8bf7\u6c42\u5e93\uff08\u5982 <code>aiohttp<\/code>\uff09\u6765\u63d0\u9ad8\u8bf7\u6c42\u7684\u5e76\u53d1\u6027\u548c\u54cd\u5e94\u901f\u5ea6\u3002<\/li>\n<li><strong>\u8fde\u63a5\u6c60\uff1a<\/strong> \u4f7f\u7528\u8fde\u63a5\u6c60\u51cf\u5c11\u8fde\u63a5\u5efa\u7acb\u7684\u65f6\u95f4\u548c\u5f00\u9500\u3002<\/li>\n<li><strong>\u538b\u7f29\u6570\u636e\uff1a<\/strong> \u5982\u679c\u4f20\u8f93\u7684\u6570\u636e\u91cf\u8f83\u5927\uff0c\u53ef\u4ee5\u8003\u8651\u5bf9\u6570\u636e\u8fdb\u884c\u538b\u7f29\u4ee5\u51cf\u5c11\u4f20\u8f93\u65f6\u95f4\u3002<\/li>\n<li><strong>\u7f13\u5b58\uff1a<\/strong> \u5728\u5408\u9002\u7684\u60c5\u51b5\u4e0b\uff0c\u7f13\u5b58\u8bf7\u6c42\u7ed3\u679c\u4ee5\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u7f51\u7edc\u8bf7\u6c42\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u9ad8\u6548\u5730\u5904\u7406 Python \u4e2d\u7684 POST \u8bf7\u6c42\uff0c\u4ece\u800c\u63d0\u5347\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u5217\u8868\u5207\u5206\u4e3a\u591a\u4e2a\u5b50\u5217\u8868\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5207\u7247\u64cd\u4f5c\u5c06\u5217\u8868\u5207\u5206\u4e3a\u591a\u4e2a\u5b50\u5217\u8868\u3002\u901a\u8fc7\u6307\u5b9a\u8d77\u59cb\u548c\u7ed3\u675f\u7d22\u5f15\uff0c\u53ef\u4ee5\u5f97\u5230\u6240\u9700\u7684\u5b50\u5217\u8868\u3002\u4f8b\u5982\uff0c<code>my_list[start:end]<\/code>\u5c06\u8fd4\u56de\u4ece<code>start<\/code>\u7d22\u5f15\u5230<code>end-1<\/code>\u7d22\u5f15\u7684\u5143\u7d20\u3002\u5982\u679c\u9700\u8981\u5c06\u5217\u8868\u5207\u5206\u6210\u56fa\u5b9a\u5927\u5c0f\u7684\u5b50\u5217\u8868\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u7ed3\u5408<code>range<\/code>\u51fd\u6570\u6765\u5b9e\u73b0\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5207\u5206\u5217\u8868\u65f6\uff0c\u6709\u54ea\u4e9b\u5e38\u7528\u7684\u5e93\u6216\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u6211\uff1f<\/strong><br \/>Python\u6807\u51c6\u5e93\u4e2d\u7684<code>itertools<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5f88\u591a\u6709\u7528\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5207\u5206\u5217\u8868\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>itertools.islice<\/code>\u53ef\u4ee5\u8f7b\u677e\u5730\u4ece\u4e00\u4e2a\u5217\u8868\u4e2d\u83b7\u53d6\u6307\u5b9a\u8303\u56f4\u7684\u5143\u7d20\u3002\u6b64\u5916\uff0c\u4e00\u4e9b\u7b2c\u4e09\u65b9\u5e93\u5982<code>numpy<\/code>\u4e5f\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u6570\u7ec4\u5207\u5206\u529f\u80fd\uff0c\u9002\u5408\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u3002<\/p>\n<p><strong>\u5207\u5206\u5217\u8868\u65f6\uff0c\u5982\u4f55\u5904\u7406\u5269\u4f59\u5143\u7d20\uff1f<\/strong><br \/>\u5728\u5207\u5206\u5217\u8868\u65f6\uff0c\u5982\u679c\u5217\u8868\u7684\u957f\u5ea6\u4e0d\u80fd\u88ab\u5b50\u5217\u8868\u7684\u5927\u5c0f\u6574\u9664\uff0c\u5c31\u4f1a\u51fa\u73b0\u5269\u4f59\u5143\u7d20\u7684\u60c5\u51b5\u3002\u53ef\u4ee5\u9009\u62e9\u5c06\u8fd9\u4e9b\u5269\u4f59\u5143\u7d20\u653e\u5165\u4e00\u4e2a\u5355\u72ec\u7684\u5b50\u5217\u8868\uff0c\u6216\u8005\u5728\u5207\u5206\u65f6\u4f7f\u7528\u586b\u5145\u65b9\u6cd5\uff08\u5982\u586b\u5145<code>None<\/code>\u6216\u5176\u4ed6\u9ed8\u8ba4\u503c\uff09\u786e\u4fdd\u6bcf\u4e2a\u5b50\u5217\u8868\u7684\u5927\u5c0f\u4e00\u81f4\u3002\u5177\u4f53\u5b9e\u73b0\u53ef\u4ee5\u901a\u8fc7\u81ea\u5b9a\u4e49\u51fd\u6570\u6765\u6ee1\u8db3\u4e0d\u540c\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u4e2d\u5207\u5206\u5217\u8868\u7684\u65b9\u6cd5\u4e3b\u8981\u5305\u62ec\uff1a\u4f7f\u7528\u5207\u7247\u64cd\u4f5c\u7b26\u3001\u5229\u7528\u8fed\u4ee3\u5668\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u3001\u901a\u8fc7\u5faa\u73af\u548c\u6761\u4ef6\u5224\u65ad\u3001\u7ed3\u5408enu [&hellip;]","protected":false},"author":3,"featured_media":936338,"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\/936337"}],"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=936337"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/936337\/revisions"}],"predecessor-version":[{"id":936339,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/936337\/revisions\/936339"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/936338"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=936337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=936337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=936337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}