{"id":7282,"date":"2023-06-19T16:02:28","date_gmt":"2023-06-19T08:02:28","guid":{"rendered":"https:\/\/www.wangonc.com\/?p=7282"},"modified":"2023-06-19T16:02:28","modified_gmt":"2023-06-19T08:02:28","slug":"chatgpt-crawler-scheme-based-on-headless-browser","status":"publish","type":"post","link":"https:\/\/www.wangonc.com\/index.php\/2023\/06\/19\/chatgpt-crawler-scheme-based-on-headless-browser\/","title":{"rendered":"\u57fa\u4e8e\u65e0\u5934\u6d4f\u89c8\u5668\u7684chatgpt\u722c\u866b\u65b9\u6848"},"content":{"rendered":"<h1>\u57fa\u4e8e\u65e0\u5934\u6d4f\u89c8\u5668\u7684chatgpt\u722c\u866b\u65b9\u6848<\/h1>\n<h2>\u6574\u4f53\u6d41\u7a0b<\/h2>\n<ol>\n<li>\u521d\u59cb\u5316\u5e76\u542f\u52a8\u65e0\u5934\u6d4f\u89c8\u5668\uff0c\u5173\u4e8e\u65e0\u5934\u6d4f\u89c8\u5668\u53ef\u7528\u65b9\u6848\u89c1<a href=\"#\u65e0\u5934\u6d4f\u89c8\u5668\u8fc7cloudflare\u7684\u53ef\u884c\u65b9\u6848\">\u65e0\u5934\u6d4f\u89c8\u5668\u8fc7cloudflare\u7684\u53ef\u884c\u65b9\u6848<\/a><\/li>\n<li>\u901a\u8fc7\u65e0\u5934\u6d4f\u89c8\u5668\u6253\u5f00https:\/\/chat.openai.com\/ \uff0c\u7b49\u5f85\u7f51\u9875\u52a0\u8f7d\u5b8c\u6bd5\u540e\uff0c\u5982\u679c\u7f51\u9875\u6e90\u7801\u4e2d\u5b58\u5728<strong>window._cf_chl_opt<\/strong>\uff0c\u5219\u8bf4\u660e\u89e6\u53d1\u4e86cloudflare\uff0c\u9700\u8981\u8fdb\u5165cloudflare\u9a8c\u8bc1\u6d41\u7a0b\uff0c\u5426\u5219\u76f4\u63a5\u8fdb\u51655\u7684\u767b\u5f55\u6d41\u7a0b<\/li>\n<li>\u7b49\u5f85\u7f51\u9875\u68c0\u67e5\uff0c\u9875\u9762\u52a0\u8f7d\u5b8c\u6210\u540e\uff0c\u70b9\u51fbid\u4e3a<strong>ctp-checkbox-label<\/strong>\u7684\u4eba\u673a\u9a8c\u8bc1\u6846\uff0c\u7b49\u5f85\u540e\u7eed\u7f51\u9875\u52a0\u8f7d\u3002<\/li>\n<li>\u5982\u679c\u52a0\u8f7d\u5b8c\u6210\u540e\u4ecd\u65e7\u5b58\u5728\u4eba\u673a\u9a8c\u8bc1\u6846\uff0c\u5219\u8bf4\u660e\u53ef\u80fd\u9a8c\u8bc1\u5931\u8d25\uff0c\u65e0\u6cd5\u901a\u8fc7cloudflare\u7684\u4eba\u673a\u9a8c\u8bc1\uff1b\u5982\u679c\u9875\u9762\u6210\u529f\u8df3\u8f6c\u5230\u4e86\u767b\u5f55chatgpt\u7684\u767b\u5f55\u9875\u9762\uff0c\u5219\u8bf4\u660e\u901a\u8fc7\u4e86cloudlfare\u7684\u68c0\u67e5\uff0c\u53ef\u4ee5\u8fdb\u5165\u767b\u5f55\u6d41\u7a0b<\/li>\n<li>\u5bfb\u627e\u9875\u9762\u4e2dclass_name\u4e3a<strong>btn-primary<\/strong>\u3001\u6587\u5b57\u4e3a<strong>Log in<\/strong>\u7684\u6309\u94ae\uff0c\u70b9\u51fb\u8fdb\u5165\u8f93\u5165\u90ae\u7bb1\u9875\u9762<\/li>\n<li>\u627e\u5230\u5143\u7d20id\u4e3a<strong>username<\/strong>\u7684\u90ae\u7bb1\u8f93\u5165\u6846\uff0c\u8f93\u5165\u90ae\u7bb1\uff0c\u7136\u540e\u627e\u5230class_name\u662f<strong>_button-login-id<\/strong>\u7684\u6309\u94ae\uff0c\u70b9\u51fb\uff0c\u7b49\u5f85\u9875\u9762\u52a0\u8f7d\u540e\u7ee7\u7eed\u8f93\u5165\u5bc6\u7801<\/li>\n<li>\u627e\u5230\u5143\u7d20id\u4e3a<strong>password<\/strong>\u7684\u5bc6\u7801\u8f93\u5165\u6846\uff0c\u8f93\u5165\u5bc6\u7801\uff0c\u7136\u540e\u627e\u5230class_name\u662f<strong>_button-login-password<\/strong>\u7684\u6309\u94ae\uff0c\u70b9\u51fb\uff0c\u7b49\u5f85\u9875\u9762\u52a0\u8f7d<\/li>\n<li>\u5982\u679c\u8d26\u53f7\u548c\u5bc6\u7801\u90fd\u8f93\u5165\u6b63\u786e\uff0c\u6b64\u65f6chatgpt\u5df2\u7ecf\u6210\u529f\u767b\u9646\u4e86<\/li>\n<li>\u8bfb\u53d6\u6d4f\u89c8\u5668\u65e5\u5fd7\uff0cchatgpt\u4f1a\u5728\u767b\u5f55\u8fc7\u7a0b\u4e2d\u8bf7\u6c42<a href=\"#session\u63a5\u53e3\"><strong>api\/auth\/session<\/strong>\u63a5\u53e3<\/a>\u6765\u83b7\u53d6<strong>session_token<\/strong>\u548c<strong>access_token<\/strong>\uff0c\u8bfb\u53d6\u65e5\u5fd7\u4e2d\u7684\u8fd9\u6761\u8bf7\u6c42\uff0c\u83b7\u53d6\u8fd4\u56de\u6570\u636e\u4e2d\u7684<strong>access_token<\/strong>\u503c<\/li>\n<li>\u4f7f\u7528\u4e0a\u9762\u83b7\u53d6\u7684access_token\uff0c\u5728\u5df2\u7ecf\u6253\u5f00\u7684\u6d4f\u89c8\u5668chatgpt\u9875\u9762\u4e2d\u6267\u884c\u811a\u672c\uff0c\u8bf7\u6c42<a href=\"#\u6d88\u606f\u53d1\u9001\u63a5\u53e3\">\u6d88\u606f\u53d1\u9001\u63a5\u53e3<\/a>\uff0c\u5411chatgpt\u53d1\u9001\u6d88\u606f\uff0c\u5e76\u7b49\u5f85\u56de\u590d<\/li>\n<\/ol>\n<h2>\u65e0\u5934\u6d4f\u89c8\u5668\u8fc7cloudflare\u7684\u53ef\u884c\u65b9\u6848<\/h2>\n<p>\u4ee5\u4e0b\u65b9\u6848\u5747\u662f\u57fa\u4e8epython\uff0c\u4e0d\u6e05\u695a\u5176\u4ed6\u8bed\u8a00\u662f\u5426\u6709\u76f8\u4f3c\u65b9\u6848<\/p>\n<h3>0\u3001\u4e0d\u53ef\u884c\u65b9\u6848\uff1aselenium<\/h3>\n<p>url\uff1a<a href=\"https:\/\/github.com\/SeleniumHQ\/selenium\">https:\/\/github.com\/SeleniumHQ\/selenium<\/a><\/p>\n<p>\u76f4\u63a5\u901a\u8fc7selenium\u662f<strong>\u4e0d\u53ef\u884c\u7684<\/strong>\u3002cloudflare\u4f1a\u5bf9\u539f\u59cb\u7684selenium\u6d4f\u89c8\u5668\u68c0\u6d4b\u3002\u53ea\u7528selenium\u6253\u5f00cloudflare\u9a8c\u8bc1\u9875\u9762\u4f1a\u5728\u70b9\u51fb\u9a8c\u8bc1\u90a3\u4e00\u6b65\u65e0\u9650\u5faa\u73af\uff0c\u4e0d\u80fd\u5230\u8fbe\u6b63\u786e\u9875\u9762\u3002<\/p>\n<p>\u4f46\u662f\u6709\u57fa\u4e8eselenium\u7684\u53ef\u884c\u65b9\u6848\u3002<\/p>\n<h3>1\u3001undetected_chromedriver<\/h3>\n<p>url:<a href=\"https:\/\/github.com\/ultrafunkamsterdam\/undetected-chromedriver\">https:\/\/github.com\/ultrafunkamsterdam\/undetected-chromedriver<\/a><\/p>\n<p>\u8be5\u65b9\u6848\u662f\u57fa\u4e8eselenium\u5b9e\u73b0\u7684\u53ef\u884c\u65b9\u6848\uff0c\u53ef\u4ee5\u548cselenium\u7684\u5404\u79cdapi\u4e00\u8d77\u4f7f\u7528\uff0c\u53ef\u4ee5\u987a\u5229\u901a\u8fc7cloudflare\u7684\u9a8c\u8bc1\u3002\u4f46\u662f<strong>\u53ea\u652f\u6301chrome\u6d4f\u89c8\u5668<\/strong>\u3002<\/p>\n<h3>2\u3001DrissionPage<\/h3>\n<p>url:<a href=\"https:\/\/github.com\/g1879\/DrissionPage\">https:\/\/github.com\/g1879\/DrissionPage<\/a><\/p>\n<p>\u8be5\u65b9\u6848\u4ece3.0\u5f00\u59cb\u5c31\u4e0d\u4f9d\u8d56selenium\u4e86\uff0c\u636e\u4f5c\u8005\u63cf\u8ff0\uff0c\u5e95\u5c42\u7531\u4f5c\u8005\u81ea\u5df1\u5b9e\u73b0\uff0c\u6ca1\u6709webdrive\u7279\u5f81\uff0c\u4e0d\u4f1a\u88abcloudfalre\u62e6\u622a\uff0c\u53ef\u4ee5\u987a\u5229\u901a\u8fc7cloudfalre\u9a8c\u8bc1\u3002\u540c\u6837<strong>\u53ea\u652f\u6301chrome\u6d4f\u89c8\u5668<\/strong>\u3002<\/p>\n<h2>session\u63a5\u53e3<\/h2>\n<p>\u8fd9\u4e2a\u63a5\u53e3\u7528\u4e8e\u83b7\u53d6session_token\u548caccess_token\u3002\u5176\u4e2dsession_token\u4f1a\u76f4\u63a5\u66f4\u65b0\u5728cookie\u4e2d\uff0c\u800caccess_token\u5219\u9700\u8981\u653e\u5728\u8bf7\u6c42\u63a5\u53e3\u7684header\u4e2d\u3002<\/p>\n<blockquote>\n<p><strong>\u8be5\u63a5\u53e3\u4e0d\u7528\u8bf7\u6c42\uff0c\u767b\u5f55\u6210\u529f\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u65e5\u5fd7\u4e2d\u5bfb\u627e\u8bf7\u6c42\u8bb0\u5f55\u53d6\u503c\u5373\u53ef<\/strong><\/p>\n<\/blockquote>\n<p><strong>URL<\/strong>: <a href=\"https:\/\/chat.openai.com\/api\/auth\/session\">https:\/\/chat.openai.com\/api\/auth\/session<\/a><\/p>\n<p><strong>\u65b9\u6cd5<\/strong>\uff1aGET<\/p>\n<p><strong>header<\/strong>\uff1a\u4e0d\u9700\u8981\u8bf7\u6c42\uff0c\u4e0d\u9700\u8981\u7528\u5230header<\/p>\n<p><strong>\u7ed3\u679c\u89e3\u6790<\/strong>\uff1a<\/p>\n<pre><code class=\"language-json\">{\n    &quot;user&quot;: {\n        &quot;id&quot;: &quot;user-zz9OzztZZZ5P33FRjWhyRl4V&quot;,\n        &quot;name&quot;: &quot;wc@qq.com&quot;,\n        &quot;email&quot;: &quot;wc@qq.com&quot;,\n        &quot;image&quot;: &quot;https:\/\/s.gravatar.com\/avatar\/99f9ca0e99e62fac1f3f25a17d28f999?s=480&amp;r=pg&amp;d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fwa.png&quot;,\n        &quot;picture&quot;: &quot;https:\/\/s.gravatar.com\/avatar\/99f9ca0e99e62fac1f3f25a17d28f999?s=480&amp;r=pg&amp;d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fwa.png&quot;,\n        &quot;mfa&quot;: false,\n        &quot;groups&quot;: [],\n        &quot;intercom_hash&quot;: &quot;99db78f5c3a99cda99a99999d5cde3cb9999ebc2b47fd033eb5ecf817191c999&quot;\n    },\n    &quot;expires&quot;: &quot;2023-05-19T13:58:30.012Z&quot;,\n    &quot;accessToken&quot;: &quot;eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkQQQQQQQQQQQQQQpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJ3YW5nb25jQHFxLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlfSwiaHR0cHM6Ly9hcGkub3BlbmFpLmNvbS9hdXRoIjp7InVzZXJfaWQiOiJ1c2VyLWZvOU9tbXRBR041UDMzRlJqV2h5Uzz0ViJ9LCJpc3MiOiJodHRwczovL2F1dGgwLm9wZW5haS5jb20vIiwic3ViIjoiYXV0aDB8NjM4ZGNjZjQzYTI0YzE0ZGM5NTBlODlmIiwiYXVkIjpbImh0dHBzOi8vYXBpLm9wZW5haS5jb20vdjEiLCJodHRwczovL29wZW5haS5vcGVuYWkuYXV0aDBhcHAuY29tL3VzZXJzzzZvIl0sImlhdCI6MTY4MDc3MzgxMiwiZXhwIjoxNjgxOTgzNDEyLCJhenAiOiJUZEpJY2JlMTZXb1RIdE45NW55eXdoNUU0eU9vNkl0RyIsInNjb3BlIjoib3BlbmlkIHByb2ZpbGUgZW1haWwgbW9kZWwucmVhZCBtb2RlbC5yZXF1ZXN0IG9yZ2FuaXphdGlvbi5yZWFkIG9mZzzzzzVfYWNjZXNzIn0.Jp0t2YC2U7pBlk-eL1YhdCObaq9SP-fsXv-1IHrW7vjsBLIvR58CUCqikeRTyYG5zz5GFKHxbPyVkcRE7g4OklUqyJH3OXHRmFtAv-bbbOx1bSabmTe9cuk0zzzMkLv7EPUAhJGUWzzzlMSJJI93_6U8vXb0rxEtOcHECIVzZdXmeBsW8nd9mSXZPLANIhp9FxAgIUrZw_ZvHVl7491-5pLBemNg-wHy5MAmFamL51Lp5VvUuQBDWUTcE13DyNHJQgTQg92sD2u7BbbmXVQ0BxV4b3CnGipEgT1OEkq2SfZiz7aOdqAZGwoxbXBopSZ4Tx9VYI2Zz-6f7GAIx8YdQ&quot;\n}\n<\/code><\/pre>\n<p>\u5728\u4e0a\u8ff0\u7ed3\u6784\u4e2d\uff0caccess_token\u4f4d\u4e8eaccessToken\u5b57\u6bb5\u4e2d\uff0c\u76f4\u63a5\u83b7\u53d6\u5373\u53ef<br \/>\n\u5728\u4f7f\u7528\u65f6\uff0c\u9700\u8981\u653e\u5728header\u7684authorization\u5b57\u6bb5\u4e2d\uff0c\u5e76\u4e14\u9700\u8981\u5728\u524d\u9762\u52a0\u4e0a\u524d\u7f00Bearer<\/p>\n<p>session_token\u5b57\u6bb5\u5728\u8fd4\u56de\u62a5\u6587\u7684header\u4e2d\u7684set-cookie\u4e2d\uff0c\u4f1a\u81ea\u52a8\u66f4\u65b0\u5230\u6d4f\u89c8\u5668cookie\u4e2d\uff0c\u4e0d\u7528\u89e3\u6790\u3002<\/p>\n<h2>\u6d88\u606f\u53d1\u9001\u63a5\u53e3<\/h2>\n<p><strong>URL<\/strong>:<a href=\"https:\/\/chat.openai.com\/backend-api\/conversation\">https:\/\/chat.openai.com\/backend-api\/conversation<\/a><\/p>\n<p><strong>\u65b9\u6cd5<\/strong>\uff1aPOST<\/p>\n<p><strong>header<\/strong>\uff1a<\/p>\n<p>\u53ea\u6dfb\u52a0\u4e0b\u9762\u4e24\u4e2a\u5b57\u6bb5\u5373\u53ef\uff0c\u5176\u4f59\u5b57\u6bb5\u6d4f\u89c8\u5668\u4f1a\u81ea\u884c\u6dfb\u52a0<\/p>\n<p>authorization\uff1aBearer + access_token \uff08\u4e2d\u95f4\u9700\u8981\u7a7a\u683c\uff09<br \/>\nContent-type\uff1aapplication\/json<\/p>\n<p><strong>\u63a5\u53e3\u53c2\u6570<\/strong>\uff1a<\/p>\n<pre><code class=\"language-json\">\n{\n    &quot;action&quot;: &quot;next&quot;,\n    &quot;conversation_id&quot;: &quot;e9ed4b3c-e1b3-41fa-a2f0-ef8e6afcf790&quot;, \/\/ \u4f1a\u8bddid\uff0c\u7ed9\u5b9a\u7236\u6d88\u606f\u6240\u5728\u7684\u4f1a\u8bddid\uff1b\u5982\u679c\u7236\u6d88\u606fid\u662f\u968f\u673a\u751f\u6210\u7684\uff0c\u5219\u4e0d\u7528\u6dfb\u52a0\u8be5\u5b57\u6bb5\uff0c\u4f1a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u4f1a\u8bdd\n    &quot;messages&quot;: [\n        {\n            &quot;id&quot;: &quot;6054e5aa-0a28-46d8-8f11-ecf9b2e209d1&quot;, \/\/ \u5f53\u524d\u6d88\u606fid\uff0c\u968f\u673a\u751f\u6210\u4e00\u4e2auuid\n            &quot;author&quot;: {\n                &quot;role&quot;: &quot;user&quot;\n            },\n            &quot;content&quot;: {\n                &quot;content_type&quot;: &quot;text&quot;,\n                &quot;parts&quot;: [\n                    &quot;hello&quot; \/\/ \u6d88\u606f\u5185\u5bb9\uff0c\u4e0d\u7528\u5206\u6bb5\uff0c\u76f4\u63a5\u5199\u5373\u53ef\n                ]\n            }\n        }\n    ],\n        &quot;parent_message_id&quot;: &quot;9450f0bb-4067-a454-7c85374d5b19&quot;, \/\/ \u7236\u6d88\u606fid\uff0c\u5373\u60f3\u8981\u56de\u590d\u54ea\u6761\u6d88\u606f\u3002\u5982\u679c\u662f\u521b\u5efa\u65b0\u7ed8\u753b\u5219\u968f\u673a\u751f\u6210\u4e00\u4e2auuid\u5373\u53ef\n\n  &quot;model&quot;: &quot;text-davinci-002-render-sha&quot;, \/\/ \u6a21\u578b\u540d\u79f0\uff0c\u514d\u8d39\u8d26\u6237\u548c\u4ed8\u8d39\u8d26\u6237\u7684chatgpt\u9ed8\u8ba4\u514d\u8d39\u7684\u90fd\u662f\u8fd9\u4e2a\u6a21\u578b\n    &quot;timezone_offset_min&quot;: -480,\n    &quot;variant_purpose&quot;: &quot;none&quot;\n}\n<\/code><\/pre>\n<p>\u5728\u4e0a\u8ff0\u7ed3\u6784\u4e2d\uff0c<br \/>\n$.messages[0].content.parts[0]\u662f\u6d88\u606f\u5185\u5bb9\uff0c\u5373\u9700\u8981\u53d1\u7ed9chatgpt\u7684\u8bdd\u8bed\uff0c\u4e0d\u7528\u5206\u6bb5\uff0c\u76f4\u63a5\u5b8c\u6574\u7ed9\u5b9a\u5373\u53ef<br \/>\n$.model\u662f\u6a21\u578b\u540d\u79f0\uff0c\u5176\u4e2dtext-davinci-002-render-sha\u662f\u514d\u8d39\u8d26\u6237\u548c\u4ed8\u8d39\u8d26\u6237\u7684chatgpt\u9ed8\u8ba4\u6a21\u578b\uff0c\u53ea\u4e0d\u8fc7\u4ed8\u8d39\u8d26\u6237\u6bd4\u514d\u8d39\u8d26\u6237\u54cd\u5e94\u66f4\u5feb\u3002\u800c\u5bf9\u4e8e\u4ed8\u8d39\u7528\u6237\u6765\u8bf4\uff0c\u8fd8\u5b58\u5728\u4e24\u4e2a\u6a21\u578b\uff1atext-davinci-002-render-paid\u662f\u4ed8\u8d39\u7528\u6237\u7684\u8001gpt\u6a21\u578b\uff0c\u5373\u9ed8\u8ba4\u6a21\u578b\u66f4\u6162\u7684\u7248\u672c\u3001gpt-4\u4e5f\u5c31\u662fGPT-4\uff0c\u76ee\u524d\u6700\u5148\u8fdb\u7684chatgpt\u6a21\u578b\uff0c\u4ec5\u4f9b\u4ed8\u8d39\u8d26\u6237\u9650\u91cf\u4f7f\u7528<br \/>\n$.messages[0].id\u662f\u5f53\u524d\u6d88\u606f\u7684id\uff0c\u968f\u673a\u751f\u6210\u4e00\u4e2auuid\u5373\u53ef<br \/>\n$.conversation_id\u662f\u4f1a\u8bddid\uff0c\u7ed9\u5b9a\u7236\u6d88\u606f\u6240\u5728\u7684\u4f1a\u8bddid\uff1b\u5982\u679c\u7236\u6d88\u606fid\u662f\u968f\u673a\u751f\u6210\u7684\uff0c\u5219\u4e0d\u7528\u6dfb\u52a0\u8be5\u5b57\u6bb5\uff0c\u4f1a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u4f1a\u8bdd<br \/>\n$.parent_message_id\u662f\u7236\u6d88\u606fid\uff0c\u5982\u679c\u9700\u8981\u56de\u590d\u67d0\u4e00\u6761\u6d88\u606f\uff08\u4e5f\u5c31\u662f\u63a5\u7740\u67d0\u4e00\u6761\u6d88\u606f\u53d1\u9001\uff09\uff0c\u9700\u8981\u7ed9\u5b9a\u5176\u6d88\u606fid\uff0c\u6b64\u65f6\u5fc5\u987b\u6307\u5b9a\u5176\u5bf9\u8bddid\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u5f53\u524d\u6d88\u606f\u5df2\u7ecf\u5b58\u5728\u8fc7\u56de\u590d\uff0c\u5219\u4f1a\u57fa\u4e8e\u65b0\u7684\u56de\u590d\u91cd\u65b0\u751f\u6210\u56de\u7b54\uff08\u4e5f\u5c31\u662f\u76f8\u5f53\u4e8e\u7f51\u9875\u4e2d\u7684\u91cd\u65b0\u751f\u6210\u6216\u4fee\u6539\u67d0\u4e00\u6761\u95ee\u9898\u7684\u529f\u80fd\uff09\uff1b\u5982\u679c\u9700\u8981\u521b\u5efa\u65b0\u4f1a\u8bdd\uff0c\u5219\u968f\u673a\u751f\u6210\u4e00\u4e2auuid\u5373\u53ef<\/p>\n<p><strong>\u7ed3\u679c\u89e3\u6790<\/strong>\uff1a<\/p>\n<p>\u8be5\u63a5\u53e3\u7684\u7ed3\u679c\u53ef\u4ee5\u901a\u8fc7\u6d41\u5f0f\u54cd\u5e94\u83b7\u53d6\u3002\u6d41\u5f0f\u54cd\u5e94\u65f6\uff0c\u6bcf\u6b21\u7684\u54cd\u5e94\u90fd\u662f\u4e00\u4e2ajson\uff0c\u9010\u6e10\u8fd4\u56dechatgpt\u56de\u590d\u7684\u8bdd\u8bed\u3002\u4f46\u662f\u4f7f\u7528\u6d4f\u89c8\u5668\u811a\u672c\u7684\u65b9\u5f0f\u8bf7\u6c42\u8fdb\u884c\u6d41\u5f0f\u54cd\u5e94\u6bd4\u8f83\u9ebb\u70e6\uff0c\u6240\u4ee5\u4e5f\u53ef\u4ee5\u8fdb\u884c\u5e38\u89c4\u8bf7\u6c42\u54cd\u5e94\u3002<\/p>\n<p>\u5bf9\u4e8e\u975e\u6d41\u5f0f\u8bf7\u6c42\u6765\u8bf4\uff0c\u63a5\u53e3\u4f1a\u4e00\u6b21\u6027\u8fd4\u56de\u6240\u6709\u6570\u636e\u3002\u6570\u636e\u4e2d\u7531\\n\\n\u6765\u5206\u5272\u6bcf\u6b21\u7684\u6d41\u5f0f\u8bf7\u6c42\u7684\u8fd4\u56de\u7ed3\u679c\uff0c\u6700\u540e\u7531data: [DONE]\u505a\u7ed3\u5c3e,\u5982\u4e0b\u6240\u793a<\/p>\n<pre><code class=\"language-json\">data: {&quot;message&quot;: {&quot;id&quot;: &quot;0d305da1-17b1-496f-9cf5-763280c504fe&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;system&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979732.600759, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;&quot;]}, &quot;end_turn&quot;: true, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;a6501981-7075-4f76-85c4-ee701182f36b&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;user&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979732.602395, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;How do I make an HTTP request in Javascript?&quot;]}, &quot;end_turn&quot;: null, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;timestamp_&quot;: &quot;absolute&quot;, &quot;message_type&quot;: null}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;assistant&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979733.721916, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;&quot;]}, &quot;end_turn&quot;: null, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;message_type&quot;: &quot;next&quot;, &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;assistant&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979733.721916, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;You&quot;]}, &quot;end_turn&quot;: null, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;message_type&quot;: &quot;next&quot;, &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;assistant&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979733.721916, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;You can&quot;]}, &quot;end_turn&quot;: null, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;message_type&quot;: &quot;next&quot;, &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;assistant&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979733.721916, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;You can make&quot;]}, &quot;end_turn&quot;: null, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;message_type&quot;: &quot;next&quot;, &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\n......\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;assistant&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979733.721916, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;You can make an HTTP request in Javascript using the built-in `fetch()` function or the older `XMLHttpRequest` object.\\n\\nUsing `fetch()`, you can make an HTTP request to a server and receive a response using promises. Here&#039;s an example:\\n\\n```\\nfetch(&#039;https:\/\/example.com\/api\/data&#039;)\\n  .then(response =&gt; response.json())\\n  .then(data =&gt; console.log(data))\\n  .catch(error =&gt; console.error(error));\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the parsed JSON data to the console. If there is an error, it is also logged to the console.\\n\\nUsing `XMLHttpRequest`, you can make HTTP requests to a server and receive a response using callbacks. Here&#039;s an example:\\n\\n```\\nconst xhr = new XMLHttpRequest();\\nxhr.open(&#039;GET&#039;, &#039;https:\/\/example.com\/api\/data&#039;);\\nxhr.onreadystatechange = function() {\\n  if (xhr.readyState === XMLHttpRequest.DONE &amp;&amp; xhr.status === 200) {\\n    console.log(xhr.responseText);\\n  } else {\\n    console.error(&#039;Error:&#039;, xhr.status);\\n  }\\n};\\nxhr.send();\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the response text to the console if the response is successful. If there is an error, the status code is logged to the console&quot;]}, &quot;end_turn&quot;: null, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;message_type&quot;: &quot;next&quot;, &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;, &quot;finish_details&quot;: {&quot;type&quot;: &quot;stop&quot;, &quot;stop&quot;: &quot;&lt;|im_end|&gt;&quot;}}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;assistant&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979733.721916, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;You can make an HTTP request in Javascript using the built-in `fetch()` function or the older `XMLHttpRequest` object.\\n\\nUsing `fetch()`, you can make an HTTP request to a server and receive a response using promises. Here&#039;s an example:\\n\\n```\\nfetch(&#039;https:\/\/example.com\/api\/data&#039;)\\n  .then(response =&gt; response.json())\\n  .then(data =&gt; console.log(data))\\n  .catch(error =&gt; console.error(error));\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the parsed JSON data to the console. If there is an error, it is also logged to the console.\\n\\nUsing `XMLHttpRequest`, you can make HTTP requests to a server and receive a response using callbacks. Here&#039;s an example:\\n\\n```\\nconst xhr = new XMLHttpRequest();\\nxhr.open(&#039;GET&#039;, &#039;https:\/\/example.com\/api\/data&#039;);\\nxhr.onreadystatechange = function() {\\n  if (xhr.readyState === XMLHttpRequest.DONE &amp;&amp; xhr.status === 200) {\\n    console.log(xhr.responseText);\\n  } else {\\n    console.error(&#039;Error:&#039;, xhr.status);\\n  }\\n};\\nxhr.send();\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the response text to the console if the response is successful. If there is an error, the status code is logged to the console.&quot;]}, &quot;end_turn&quot;: null, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;message_type&quot;: &quot;next&quot;, &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;, &quot;finish_details&quot;: {&quot;type&quot;: &quot;stop&quot;, &quot;stop&quot;: &quot;&lt;|im_end|&gt;&quot;}}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: {&quot;message&quot;: {&quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;, &quot;author&quot;: {&quot;role&quot;: &quot;assistant&quot;, &quot;name&quot;: null, &quot;metadata&quot;: {}}, &quot;create_time&quot;: 1681979733.721916, &quot;update_time&quot;: null, &quot;content&quot;: {&quot;content_type&quot;: &quot;text&quot;, &quot;parts&quot;: [&quot;You can make an HTTP request in Javascript using the built-in `fetch()` function or the older `XMLHttpRequest` object.\\n\\nUsing `fetch()`, you can make an HTTP request to a server and receive a response using promises. Here&#039;s an example:\\n\\n```\\nfetch(&#039;https:\/\/example.com\/api\/data&#039;)\\n  .then(response =&gt; response.json())\\n  .then(data =&gt; console.log(data))\\n  .catch(error =&gt; console.error(error));\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the parsed JSON data to the console. If there is an error, it is also logged to the console.\\n\\nUsing `XMLHttpRequest`, you can make HTTP requests to a server and receive a response using callbacks. Here&#039;s an example:\\n\\n```\\nconst xhr = new XMLHttpRequest();\\nxhr.open(&#039;GET&#039;, &#039;https:\/\/example.com\/api\/data&#039;);\\nxhr.onreadystatechange = function() {\\n  if (xhr.readyState === XMLHttpRequest.DONE &amp;&amp; xhr.status === 200) {\\n    console.log(xhr.responseText);\\n  } else {\\n    console.error(&#039;Error:&#039;, xhr.status);\\n  }\\n};\\nxhr.send();\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the response text to the console if the response is successful. If there is an error, the status code is logged to the console.&quot;]}, &quot;end_turn&quot;: true, &quot;weight&quot;: 1.0, &quot;metadata&quot;: {&quot;message_type&quot;: &quot;next&quot;, &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;, &quot;finish_details&quot;: {&quot;type&quot;: &quot;stop&quot;, &quot;stop&quot;: &quot;&lt;|im_end|&gt;&quot;}}, &quot;recipient&quot;: &quot;all&quot;}, &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;, &quot;error&quot;: null}\n\ndata: [DONE]<\/code><\/pre>\n<p>\u6bcf\u4e00\u90e8\u5206\u6570\u636e\u90fd\u662f\u7531data: {}\u7ec4\u6210\uff0c\u6bcf\u4e00\u90e8\u5206\u90fd\u662f\u9875\u9762\u4e2d\u76f8\u5e94\u7684\u4e00\u90e8\u5206\u6d88\u606f\u3002\u6240\u4ee5\u5728\u628a\u6bcf\u4e00\u6bb5\u5185\u5bb9\u5206\u9694\u5f00\u540e\uff0c\u9664\u53bb\u6700\u540e\u7684data: [DONE]\u3002\u5012\u6570\u7b2c\u4e8c\u6bb5\u5c31\u5305\u542b\u4e86\u5b8c\u6574\u7684\u56de\u590d\u5185\u5bb9\uff0c\u6240\u4ee5\u53ea\u9700\u8981\u89e3\u6790\u5012\u6570\u7b2c\u4e8c\u6bb5\u5373\u53ef\u3002<\/p>\n<p>\u5176\u4e2d\u5305\u542b\u5b8c\u6574\u56de\u590d\u7684\u4e00\u6bb5json\u7ed3\u6784\u5982\u4e0b<\/p>\n<pre><code class=\"language-json\">{\n    &quot;message&quot;: {\n        &quot;id&quot;: &quot;98f47b88-cc58-4d68-ae52-08f5d3efa867&quot;,\n        &quot;author&quot;: {\n            &quot;role&quot;: &quot;assistant&quot;,\n            &quot;name&quot;: null,\n            &quot;metadata&quot;: {}\n        },\n        &quot;create_time&quot;: 1681979733.721916,\n        &quot;update_time&quot;: null,\n        &quot;content&quot;: {\n            &quot;content_type&quot;: &quot;text&quot;,\n            &quot;parts&quot;: [\n                &quot;You can make an HTTP request in Javascript using the built-in `fetch()` function or the older `XMLHttpRequest` object.\\n\\nUsing `fetch()`, you can make an HTTP request to a server and receive a response using promises. Here&#039;s an example:\\n\\n```\\nfetch(&#039;https:\/\/example.com\/api\/data&#039;)\\n  .then(response =&gt; response.json())\\n  .then(data =&gt; console.log(data))\\n  .catch(error =&gt; console.error(error));\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the parsed JSON data to the console. If there is an error, it is also logged to the console.\\n\\nUsing `XMLHttpRequest`, you can make HTTP requests to a server and receive a response using callbacks. Here&#039;s an example:\\n\\n```\\nconst xhr = new XMLHttpRequest();\\nxhr.open(&#039;GET&#039;, &#039;https:\/\/example.com\/api\/data&#039;);\\nxhr.onreadystatechange = function() {\\n  if (xhr.readyState === XMLHttpRequest.DONE &amp;&amp; xhr.status === 200) {\\n    console.log(xhr.responseText);\\n  } else {\\n    console.error(&#039;Error:&#039;, xhr.status);\\n  }\\n};\\nxhr.send();\\n```\\n\\nThis code sends an HTTP GET request to the URL `https:\/\/example.com\/api\/data`, receives a response, and logs the response text to the console if the response is successful. If there is an error, the status code is logged to the console.&quot;\n            ]\n        },\n        &quot;end_turn&quot;: true,\n        &quot;weight&quot;: 1.0,\n        &quot;metadata&quot;: {\n            &quot;message_type&quot;: &quot;next&quot;,\n            &quot;model_slug&quot;: &quot;text-davinci-002-render-sha&quot;,\n            &quot;finish_details&quot;: {\n                &quot;type&quot;: &quot;stop&quot;,\n                &quot;stop&quot;: &quot;&lt;|im_end|&gt;&quot;\n            }\n        },\n        &quot;recipient&quot;: &quot;all&quot;\n    },\n    &quot;conversation_id&quot;: &quot;3f5ad3cc-f00b-4845-af1d-325923cf7d03&quot;,\n    &quot;error&quot;: null\n}\n<\/code><\/pre>\n<p>\u5728\u4e0a\u8ff0\u7ed3\u6784\u4e2d\u5305\u542b\u4e86\u56de\u590d\u7684\u6d88\u606f\u4ee5\u53ca\u76f8\u5173\u7684\u4fe1\u606f\uff0c\u5176\u4e2d\u6709\u7528\u7684\u5b57\u6bb5\u5982\u4e0b:<\/p>\n<p>$.message.content.parts[0]\uff1a\u56de\u590d\u7684\u6d88\u606f\u5185\u5bb9\uff0c\u4e3amarkdown\u683c\u5f0f<br \/>\n$.message.id: \u5f53\u524d\u6d88\u606f\u7684id\uff0c\u540e\u7eed\u56de\u590d\u5f53\u524d\u6d88\u606f\u7ee7\u7eed\u5bf9\u8bdd\u9700\u8981\u8be5\u503c<br \/>\n$.conversation_id: \u5f53\u524d\u5bf9\u8bdd\u7684id\uff0c\u7ee7\u7eed\u5bf9\u8bdd\u9700\u8981\u7ed9\u5b9a\u5f53\u524d\u5b57\u6bb5\uff08\u4f46\u662f\u5982\u679c\u662f\u65b0\u4f1a\u8bdd\u8be5\u503c\u5176\u5b9e\u662f\u6211\u4eec\u751f\u6210\u7684\uff09<\/p>\n<h2>\u63a5\u53e3\u7684\u8c03\u7528\u65b9\u5f0f<\/h2>\n<p>\u63a5\u53e3\u4e0d\u80fd\u76f4\u63a5\u5728\u4ee3\u7801\u4e2d\u8bf7\u6c42\uff0c\u4f1a\u89e6\u53d1cloudfalre\u7684ssl\u6307\u7eb9\u6821\u9a8c\uff0c\u6700\u7ec8\u4f1a\u8fd4\u56de403\uff0c\u65e0\u6cd5\u5f97\u5230\u6570\u636e<br \/>\n\u6240\u4ee5\u9700\u8981\u901a\u8fc7\u6267\u884c\u6d4f\u89c8\u5668\u811a\u672c\u7684\u65b9\u5f0f\u6a21\u62df\u5f53\u524d\u7f51\u7ad9\u53d1\u9001\u8bf7\u6c42\uff0c\u5e76\u89e3\u6790\u6570\u636e\u3002<\/p>\n<p>\u793a\u4f8b\u811a\u672c\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-javascript\">var xhr = new XMLHttpRequest();    \nxhr.open(&quot;POST&quot;, &quot;path\/url\/test&quot;, false);    \nxhr.setRequestHeader(&#039;Authorization&#039;, &#039;Bearer xxxxxxxxxxxxxxxx&#039;);\nxhr.setRequestHeader(&#039;Content-type&#039;, &#039;application\/json&#039;);\nxhr.send(&#039;{&quot;action&quot;:&quot;next&quot;,&quot;messages&quot;:[&quot;qweqweqwe&quot;]}&#039;);\nvar re = {&quot;responseText&quot;:xhr.responseText,&quot;responseHeaders&quot;:xhr.getAllResponseHeaders(),&quot;status&quot;:xhr.status};\nreturn JSON.stringify(re);<\/code><\/pre>\n<p>\u4e0a\u8ff0\u811a\u672c\u7528post\u65b9\u6cd5\u5728\u5f53\u524d\u9875\u9762\u8bf7\u6c42\u4e86path\/url\/test\u8def\u5f84\uff0c\u5e76\u4e14\u5728header\u4e2d\u6dfb\u52a0\u4e86Authorization\u548cContent-type\u5b57\u6bb5\uff0c\u6700\u540e\u53d1\u9001\u4e86\u4e00\u4e2ajson\u5b57\u7b26\u4e32\u3002<br \/>\n\u6700\u540e\u628a\u8fd4\u56de\u6570\u636e\u505a\u7b80\u5355\u7684\u5c01\u88c5\uff0c\u8fd4\u56de\u7ed9python\u811a\u672c\u3002<br \/>\n\u9700\u8981\u6ce8\u610f\u7684\u662f\u5728\u4e0d\u624b\u52a8\u6307\u5b9aContent-type\u7684\u60c5\u51b5\u4e0b\uff0c\u6d4f\u89c8\u5668\u4f1a\u81ea\u884c\u5339\u914d\u4e00\u4e2aContent-type\uff0c\u4f46\u662f\u6709\u4e9b\u65f6\u5019Content-type\u4e0d\u6b63\u786e\u4f1a\u5bfc\u81f4\u8bf7\u6c42\u5931\u8d25\u62a5\u9519\uff0c\u6240\u4ee5\u624b\u52a8\u6307\u5b9aContent-type\u7a33\u59a5\u4e00\u4e9b<\/p>\n<h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ol>\n<li>\u5982\u679c\u77ed\u65f6\u95f4\u5185\u8fde\u7eed\u5bf9\u8bdd\uff08\u5373\u4e0d\u505c\u7684\u5411\u670d\u52a1\u7aef\u8bf7\u6c42\u63a5\u53e3\uff09\uff0c\u5219\u4e00\u822c\u4e0d\u4f1a\u89e6\u53d1403\uff1b\u5982\u679c\u5bf9\u8bdd\u65f6\u95f4\u7a0d\u5fae\u8fb9\u957f\uff0c\u5219\u6709\u53ef\u80fd\u89e6\u53d1403\uff0c\u6b64\u65f6\u9700\u8981\u5237\u65b0\u9875\u9762\u91cd\u65b0\u8fdb\u884ccloudfalre\u6821\u9a8c\u6d41\u7a0b<\/li>\n<li>\u540c\u4e00\u4e2a\u8d26\u53f7\u5728\u591a\u4e2a\u6d4f\u89c8\u5668\u73af\u5883\u4e0b\u767b\u5f55\u6216\u5728\u4e0d\u540cip\u4e0b\u540c\u65f6\u767b\u9646\u6216\u5207\u6362ip\u7b49\u884c\u4e3a\u5747\u6709\u53ef\u80fd\u89e6\u53d1403<\/li>\n<li>\u540c\u4e00\u4e2aip\u4e0d\u80fd\u8bf7\u6c42\u8fc7\u4e8e\u9891\u7e41\uff08\u5982\u767b\u5f55\u591a\u4e2a\u8d26\u53f7\uff09\uff0c\u5426\u5219\u4f1a\u8fd4\u56de429\u3002\uff08\u540c\u65f6\u53d1\u9001\u591a\u6761\u6d88\u606f\u4e5f\u4f1a\u89e6\u53d1429\uff09<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u4e8e\u65e0\u5934\u6d4f\u89c8\u5668\u7684chatgpt\u722c\u866b\u65b9\u6848 \u6574\u4f53\u6d41\u7a0b \u521d\u59cb\u5316\u5e76\u542f\u52a8\u65e0\u5934\u6d4f\u89c8\u5668\uff0c\u5173\u4e8e\u65e0\u5934\u6d4f\u89c8\u5668\u53ef\u7528\u65b9\u6848\u89c1\u65e0\u5934\u6d4f\u89c8\u5668\u8fc7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[71,62],"series":[],"class_list":["post-7282","post","type-post","status-publish","format-standard","hentry","category-spider","tag-chatgpt","tag-62"],"_links":{"self":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts\/7282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/comments?post=7282"}],"version-history":[{"count":3,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts\/7282\/revisions"}],"predecessor-version":[{"id":7285,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts\/7282\/revisions\/7285"}],"wp:attachment":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/media?parent=7282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/categories?post=7282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/tags?post=7282"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/series?post=7282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}