{"id":54163,"date":"2025-08-12T23:19:39","date_gmt":"2025-08-12T15:19:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/54163.html"},"modified":"2025-08-12T23:19:39","modified_gmt":"2025-08-12T15:19:39","slug":"%e6%9c%8d%e5%8a%a1%e7%ab%af%e9%85%8d%e7%bd%ae-cors%e8%a7%a3%e5%86%b3%e8%b7%a8%e5%9f%9f%e9%97%ae%e9%a2%98%e7%9a%84%e5%8e%9f%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/54163.html","title":{"rendered":"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406"},"content":{"rendered":"<p>\u670d\u52a1\u7aef\u914d\u7f6e CORS&#xff08;\u8de8\u57df\u8d44\u6e90\u5171\u4eab&#xff09;\u7684\u539f\u7406\u672c\u8d28\u662f \u6d4f\u89c8\u5668\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u5b89\u5168\u534f\u5546\u673a\u5236\u3002\u5176\u6838\u5fc3\u5728\u4e8e\u670d\u52a1\u5668\u901a\u8fc7\u7279\u5b9a\u7684 HTTP \u54cd\u5e94\u5934\u58f0\u660e\u5141\u8bb8\u54ea\u4e9b\u5916\u90e8\u6e90&#xff08;Origin&#xff09;\u8bbf\u95ee\u8d44\u6e90&#xff0c;\u6d4f\u89c8\u5668\u6839\u636e\u8fd9\u4e9b\u54cd\u5e94\u5934\u51b3\u5b9a\u662f\u5426\u653e\u884c\u8de8\u57df\u8bf7\u6c42\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u539f\u7406\u5206\u89e3&#xff1a;<\/p>\n<hr \/>\n<h4>\u4e00\u3001\u6838\u5fc3\u6d41\u7a0b&#xff1a;\u6d4f\u89c8\u5668\u4e0e\u670d\u52a1\u7aef\u7684\u534f\u4f5c\u673a\u5236<\/h4>\n<h5>\u573a\u666f&#xff1a;\u7f51\u9875 https:\/\/web.com \u8bf7\u6c42 https:\/\/api.com\/data<\/h5>\n<li>\n<p>\u6d4f\u89c8\u5668\u53d1\u8d77\u8de8\u57df\u8bf7\u6c42<\/p>\n<ul>\n<li>\u81ea\u52a8\u5728\u8bf7\u6c42\u5934\u4e2d\u6dfb\u52a0 Origin: https:\/\/web.com&#xff08;\u8868\u660e\u8bf7\u6c42\u6765\u6e90&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u670d\u52a1\u7aef\u54cd\u5e94<\/p>\n<ul>\n<li>\u68c0\u67e5 Origin \u503c\u662f\u5426\u5728\u5141\u8bb8\u5217\u8868\u4e2d\u3002<\/li>\n<li>\u82e5\u5141\u8bb8&#xff0c;\u5219\u5728\u54cd\u5e94\u5934\u4e2d\u6dfb\u52a0 CORS \u76f8\u5173\u5b57\u6bb5&#xff08;\u5982 Access-Control-Allow-Origin: https:\/\/web.com&#xff09;\u3002<\/li>\n<li>\u82e5\u62d2\u7edd&#xff0c;\u4e0d\u6dfb\u52a0 CORS \u5934\u6216\u8fd4\u56de\u9519\u8bef&#xff08;\u6d4f\u89c8\u5668\u4f1a\u62e6\u622a\u54cd\u5e94&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6d4f\u89c8\u5668\u9a8c\u8bc1\u54cd\u5e94\u5934<\/p>\n<ul>\n<li>\u68c0\u67e5\u54cd\u5e94\u5934\u662f\u5426\u5305\u542b Access-Control-Allow-Origin \u4e14\u503c\u4e0e\u5f53\u524d Origin \u5339\u914d&#xff08;\u6216\u4e3a *&#xff09;\u3002<\/li>\n<li>\u9a8c\u8bc1\u901a\u8fc7 \u2192 \u89e3\u9664\u62e6\u622a&#xff0c;\u7f51\u9875\u53ef\u8bfb\u53d6\u54cd\u5e94\u6570\u636e\u3002<\/li>\n<li>\u9a8c\u8bc1\u5931\u8d25 \u2192 \u629b\u51fa CORS \u9519\u8bef&#xff08;\u5982 No &#039;Access-Control-Allow-Origin&#039; header&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u4e8c\u3001\u5173\u952e HTTP \u54cd\u5e94\u5934\u5b57\u6bb5\u89e3\u6790<\/h4>\n<p>\u670d\u52a1\u5668\u901a\u8fc7\u4ee5\u4e0b\u5934\u5b57\u6bb5\u58f0\u660e\u8de8\u57df\u89c4\u5219&#xff1a;<\/p>\n<table>\n<tr>\u54cd\u5e94\u5934\u5b57\u6bb5\u4f5c\u7528\u793a\u4f8b<\/tr>\n<tbody>\n<tr>\n<td>Access-Control-Allow-Origin<\/td>\n<td>\u5fc5\u9009&#xff0c;\u58f0\u660e\u5141\u8bb8\u8bbf\u95ee\u7684\u6e90&#xff08;\u57df\u540d&#xff09;<\/td>\n<td>https:\/\/web.com \u6216 *<\/td>\n<\/tr>\n<tr>\n<td>Access-Control-Allow-Methods<\/td>\n<td>\u58f0\u660e\u5141\u8bb8\u7684 HTTP \u65b9\u6cd5&#xff08;\u5982 GET\u3001POST&#xff09;<\/td>\n<td>GET, POST, PUT<\/td>\n<\/tr>\n<tr>\n<td>Access-Control-Allow-Headers<\/td>\n<td>\u58f0\u660e\u5141\u8bb8\u5ba2\u6237\u7aef\u643a\u5e26\u7684\u8bf7\u6c42\u5934&#xff08;\u5982 Content-Type&#xff09;<\/td>\n<td>Content-Type, Authorization<\/td>\n<\/tr>\n<tr>\n<td>Access-Control-Allow-Credentials<\/td>\n<td>\u662f\u5426\u5141\u8bb8\u53d1\u9001 Cookie \u7b49\u51ed\u8bc1&#xff08;\u9700\u5ba2\u6237\u7aef\u8bbe\u7f6e withCredentials: true&#xff09;<\/td>\n<td>true<\/td>\n<\/tr>\n<tr>\n<td>Access-Control-Max-Age<\/td>\n<td>\u9884\u68c0\u8bf7\u6c42&#xff08;OPTIONS&#xff09;\u7684\u7f13\u5b58\u65f6\u95f4&#xff08;\u79d2&#xff09;&#xff0c;\u51cf\u5c11\u91cd\u590d\u9884\u68c0<\/td>\n<td>86400&#xff08;24\u5c0f\u65f6&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u26a0\ufe0f \u6ce8\u610f&#xff1a;\u82e5\u8bf7\u6c42\u9700\u643a\u5e26 Cookie&#xff08;\u51ed\u8bc1&#xff09;&#xff0c;\u5219&#xff1a;<\/p>\n<ul>\n<li>\u670d\u52a1\u7aef\u5fc5\u987b\u8bbe\u7f6e Access-Control-Allow-Credentials: true<\/li>\n<li>\u670d\u52a1\u7aef\u7684 Access-Control-Allow-Origin \u4e0d\u80fd\u4e3a *&#xff0c;\u5fc5\u987b\u660e\u786e\u6307\u5b9a\u57df\u540d&#xff08;\u5982 https:\/\/web.com&#xff09;<\/li>\n<li>\u5ba2\u6237\u7aef\u9700\u8bbe\u7f6e withCredentials: true&#xff08;\u5982 Fetch API \u6216 Axios&#xff09;\u3002<\/li>\n<\/ul>\n<hr \/>\n<h4>\u4e09\u3001\u9884\u68c0\u8bf7\u6c42&#xff08;Preflight Request&#xff09;&#xff1a;\u590d\u6742\u8bf7\u6c42\u7684\u4e8c\u6b21\u786e\u8ba4<\/h4>\n<p>\u5f53\u8bf7\u6c42\u6ee1\u8db3\u4ee5\u4e0b\u4efb\u4e00\u6761\u4ef6\u65f6&#xff0c;\u6d4f\u89c8\u5668\u4f1a\u5148\u53d1\u9001 OPTIONS \u9884\u68c0\u8bf7\u6c42&#xff08;\u975e\u7b80\u5355\u8bf7\u6c42&#xff09;&#xff1a;<\/p>\n<li>\u4f7f\u7528\u4e86 PUT\u3001DELETE \u7b49\u975e\u7b80\u5355\u65b9\u6cd5&#xff08;\u7b80\u5355\u65b9\u6cd5\u4ec5\u9650 GET\u3001POST\u3001HEAD&#xff09;\u3002<\/li>\n<li>\u643a\u5e26\u4e86\u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934&#xff08;\u5982 Authorization&#xff09;\u3002<\/li>\n<li>Content-Type \u4e3a application\/json \u7b49\u975e\u7b80\u5355\u7c7b\u578b&#xff08;\u7b80\u5355\u7c7b\u578b\u4ec5\u9650 application\/x-www-form-urlencoded\u3001multipart\/form-data\u3001text\/plain&#xff09;\u3002<\/li>\n<h5>\u9884\u68c0\u8bf7\u6c42\u5de5\u4f5c\u6d41\u7a0b&#xff1a;<\/h5>\n<p>#mermaid-svg-eoXfYt6ZK3wHQ67B {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-eoXfYt6ZK3wHQ67B .error-icon{fill:#552222;}#mermaid-svg-eoXfYt6ZK3wHQ67B .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-eoXfYt6ZK3wHQ67B .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-eoXfYt6ZK3wHQ67B .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-eoXfYt6ZK3wHQ67B .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-eoXfYt6ZK3wHQ67B .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-eoXfYt6ZK3wHQ67B .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-eoXfYt6ZK3wHQ67B .marker{fill:#333333;stroke:#333333;}#mermaid-svg-eoXfYt6ZK3wHQ67B .marker.cross{stroke:#333333;}#mermaid-svg-eoXfYt6ZK3wHQ67B svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-eoXfYt6ZK3wHQ67B .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-eoXfYt6ZK3wHQ67B text.actor&gt;tspan{fill:black;stroke:none;}#mermaid-svg-eoXfYt6ZK3wHQ67B .actor-line{stroke:grey;}#mermaid-svg-eoXfYt6ZK3wHQ67B .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-eoXfYt6ZK3wHQ67B .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-eoXfYt6ZK3wHQ67B #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-eoXfYt6ZK3wHQ67B .sequenceNumber{fill:white;}#mermaid-svg-eoXfYt6ZK3wHQ67B #sequencenumber{fill:#333;}#mermaid-svg-eoXfYt6ZK3wHQ67B #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-eoXfYt6ZK3wHQ67B .messageText{fill:#333;stroke:#333;}#mermaid-svg-eoXfYt6ZK3wHQ67B .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-eoXfYt6ZK3wHQ67B .labelText,#mermaid-svg-eoXfYt6ZK3wHQ67B .labelText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-eoXfYt6ZK3wHQ67B .loopText,#mermaid-svg-eoXfYt6ZK3wHQ67B .loopText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-eoXfYt6ZK3wHQ67B .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-eoXfYt6ZK3wHQ67B .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-eoXfYt6ZK3wHQ67B .noteText,#mermaid-svg-eoXfYt6ZK3wHQ67B .noteText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-eoXfYt6ZK3wHQ67B .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-eoXfYt6ZK3wHQ67B .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-eoXfYt6ZK3wHQ67B .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-eoXfYt6ZK3wHQ67B .actorPopupMenu{position:absolute;}#mermaid-svg-eoXfYt6ZK3wHQ67B .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 \/ 0.4));}#mermaid-svg-eoXfYt6ZK3wHQ67B .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-eoXfYt6ZK3wHQ67B .actor-man circle,#mermaid-svg-eoXfYt6ZK3wHQ67B line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-eoXfYt6ZK3wHQ67B :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}BrowserServerOPTIONS \u9884\u68c0\u8bf7\u6c42\u643a\u5e26&#xff1a;Origin: https:\/\/web.comAccess-Control-Request-Method: PUTAccess-Control-Request-Headers: Content-Type\u54cd\u5e94\u9884\u68c0\u7ed3\u679c\u8fd4\u56de&#xff1a;Access-Control-Allow-Origin: https:\/\/web.comAccess-Control-Allow-Methods: PUTAccess-Control-Allow-Headers: Content-Type\u53d1\u9001\u771f\u5b9e\u8bf7\u6c42&#xff08;PUT&#xff09;\u8fd4\u56de\u771f\u5b9e\u6570\u636eBrowserServer<\/p>\n<hr \/>\n<h4>\u56db\u3001CORS \u7684\u5b89\u5168\u672c\u8d28&#xff1a;\u670d\u52a1\u7aef\u63a7\u5236\u6743\u9650<\/h4>\n<li>\n<p>\u4e3b\u52a8\u6743\u5728\u670d\u52a1\u7aef<\/p>\n<ul>\n<li>\u6d4f\u89c8\u5668\u53ea\u662f\u6267\u884c\u8005&#xff0c;\u5b9e\u9645\u653e\u884c\u6743\u7531\u670d\u52a1\u7aef\u901a\u8fc7\u54cd\u5e94\u5934\u63a7\u5236\u3002<\/li>\n<li>\u82e5\u670d\u52a1\u5668\u672a\u8fd4\u56de\u6b63\u786e\u7684 CORS \u5934&#xff0c;\u5373\u4f7f\u63a5\u53e3\u672c\u8eab\u80fd\u6b63\u5e38\u54cd\u5e94&#xff08;\u5982\u7528 Postman \u6d4b\u8bd5\u6210\u529f&#xff09;&#xff0c;\u6d4f\u89c8\u5668\u4ecd\u4f1a\u62e6\u622a\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u9632\u5fa1\u6076\u610f\u7f51\u7ad9<\/p>\n<ul>\n<li>\u5047\u8bbe\u7528\u6237\u8bbf\u95ee\u4e86\u6076\u610f\u7f51\u7ad9 evil.com&#xff0c;\u8be5\u7f51\u7ad9\u5c1d\u8bd5\u8bf7\u6c42 bank.com \u7684 API&#xff1a;\n<ul>\n<li>bank.com \u7684\u670d\u52a1\u5668\u68c0\u6d4b\u5230 Origin: evil.com \u4e0d\u5728\u767d\u540d\u5355\u4e2d \u2192 \u4e0d\u8fd4\u56de CORS \u5934\u3002<\/li>\n<li>\u6d4f\u89c8\u5668\u62e6\u622a\u54cd\u5e94 \u2192 evil.com \u65e0\u6cd5\u8bfb\u53d6 bank.com \u7684\u6570\u636e\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u4e94\u3001\u914d\u7f6e\u793a\u4f8b&#xff1a;Node.js \u4e2d\u7684 CORS \u4e2d\u95f4\u4ef6<\/h4>\n<p><span class=\"token keyword\">const<\/span> express <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">require<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;express&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">const<\/span> cors <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">require<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;cors&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">const<\/span> app <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">express<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u57fa\u7840\u914d\u7f6e&#xff1a;\u5141\u8bb8\u6240\u6709\u6e90\u8bbf\u95ee&#xff08;\u614e\u7528&#xff01;&#xff09;<\/span><br \/>\napp<span class=\"token punctuation\">.<\/span><span class=\"token function\">use<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">cors<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u7cbe\u7ec6\u5316\u914d\u7f6e&#xff08;\u63a8\u8350&#xff09;<\/span><br \/>\napp<span class=\"token punctuation\">.<\/span><span class=\"token function\">use<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">cors<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token literal-property property\">origin<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;https:\/\/web.com&#039;<\/span><span class=\"token punctuation\">,<\/span>     <span class=\"token comment\">\/\/ \u4ec5\u5141\u8bb8\u6307\u5b9a\u6e90<\/span><br \/>\n  <span class=\"token literal-property property\">methods<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;GET&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;POST&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span>      <span class=\"token comment\">\/\/ \u5141\u8bb8\u7684\u65b9\u6cd5<\/span><br \/>\n  <span class=\"token literal-property property\">allowedHeaders<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;Content-Type&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u5141\u8bb8\u7684\u8bf7\u6c42\u5934<\/span><br \/>\n  <span class=\"token literal-property property\">credentials<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span>             <span class=\"token comment\">\/\/ \u5141\u8bb8\u643a\u5e26\u51ed\u8bc1<\/span><br \/>\n  <span class=\"token literal-property property\">maxAge<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">86400<\/span>                  <span class=\"token comment\">\/\/ \u9884\u68c0\u7f13\u5b58\u65f6\u95f4<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>app<span class=\"token punctuation\">.<\/span><span class=\"token function\">get<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;\/data&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token parameter\">req<span class=\"token punctuation\">,<\/span> res<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  res<span class=\"token punctuation\">.<\/span><span class=\"token function\">json<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/span> <span class=\"token literal-property property\">data<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;\u8de8\u57df\u6570\u636e\u8fd4\u56de\u6210\u529f&#xff01;&#034;<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<hr \/>\n<h4>\u516d\u3001\u5e38\u89c1\u8bef\u533a\u6f84\u6e05<\/h4>\n<table>\n<tr>\u8bef\u533a\u771f\u76f8<\/tr>\n<tbody>\n<tr>\n<td>\u201cCORS \u662f\u670d\u52a1\u7aef\u7684\u5b89\u5168\u6f0f\u6d1e\u201d<\/td>\n<td>CORS \u662f\u5b89\u5168\u673a\u5236&#xff0c;\u6ca1\u6709\u5b83\u6d4f\u89c8\u5668\u4f1a\u9ed8\u8ba4\u7981\u6b62\u8de8\u57df<\/td>\n<\/tr>\n<tr>\n<td>\u201cJSONP \u80fd\u66ff\u4ee3 CORS\u201d<\/td>\n<td>JSONP \u4ec5\u652f\u6301 GET&#xff0c;\u4e14\u5b58\u5728\u5b89\u5168\u98ce\u9669&#xff08;\u5982 XSS&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u201c\u524d\u7aef\u4ee3\u7801\u53ef\u7ed5\u8fc7 CORS \u9650\u5236\u201d<\/td>\n<td>\u6d4f\u89c8\u5668\u4f1a\u5f3a\u5236\u68c0\u67e5\u54cd\u5e94\u5934&#xff0c;\u524d\u7aef\u65e0\u6cd5\u7ed5\u8fc7<\/td>\n<\/tr>\n<tr>\n<td>\u201c\u670d\u52a1\u7aef\u4e0d\u914d\u7f6e CORS &#061; \u63a5\u53e3\u65e0\u6cd5\u8bbf\u95ee\u201d<\/td>\n<td>\u63a5\u53e3\u4ecd\u53ef\u88ab curl\u3001Postman \u7b49\u5de5\u5177\u8c03\u7528&#xff0c;\u4f46\u6d4f\u89c8\u5668\u4f1a\u62e6\u622a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h4>\u603b\u7ed3&#xff1a;CORS \u7684\u6838\u5fc3\u539f\u7406<\/h4>\n<p>#mermaid-svg-sl4ODSvoOnTmtYQW {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-sl4ODSvoOnTmtYQW .error-icon{fill:#552222;}#mermaid-svg-sl4ODSvoOnTmtYQW .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-sl4ODSvoOnTmtYQW .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-sl4ODSvoOnTmtYQW .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-sl4ODSvoOnTmtYQW .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-sl4ODSvoOnTmtYQW .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-sl4ODSvoOnTmtYQW .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-sl4ODSvoOnTmtYQW .marker{fill:#333333;stroke:#333333;}#mermaid-svg-sl4ODSvoOnTmtYQW .marker.cross{stroke:#333333;}#mermaid-svg-sl4ODSvoOnTmtYQW svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-sl4ODSvoOnTmtYQW .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-sl4ODSvoOnTmtYQW .cluster-label text{fill:#333;}#mermaid-svg-sl4ODSvoOnTmtYQW .cluster-label span{color:#333;}#mermaid-svg-sl4ODSvoOnTmtYQW .label text,#mermaid-svg-sl4ODSvoOnTmtYQW span{fill:#333;color:#333;}#mermaid-svg-sl4ODSvoOnTmtYQW .node rect,#mermaid-svg-sl4ODSvoOnTmtYQW .node circle,#mermaid-svg-sl4ODSvoOnTmtYQW .node ellipse,#mermaid-svg-sl4ODSvoOnTmtYQW .node polygon,#mermaid-svg-sl4ODSvoOnTmtYQW .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-sl4ODSvoOnTmtYQW .node .label{text-align:center;}#mermaid-svg-sl4ODSvoOnTmtYQW .node.clickable{cursor:pointer;}#mermaid-svg-sl4ODSvoOnTmtYQW .arrowheadPath{fill:#333333;}#mermaid-svg-sl4ODSvoOnTmtYQW .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-sl4ODSvoOnTmtYQW .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-sl4ODSvoOnTmtYQW .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-sl4ODSvoOnTmtYQW .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-sl4ODSvoOnTmtYQW .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-sl4ODSvoOnTmtYQW .cluster text{fill:#333;}#mermaid-svg-sl4ODSvoOnTmtYQW .cluster span{color:#333;}#mermaid-svg-sl4ODSvoOnTmtYQW div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-sl4ODSvoOnTmtYQW :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span id=\"L-L-A-B\" class=\"edgeLabel L-LS-A&#039; L-LE-B\">\u643a\u5e26 Origin \u5934<\/span><span id=\"L-L-B-C\" class=\"edgeLabel L-LS-B&#039; L-LE-C\"><\/span><span id=\"L-L-C-D\" class=\"edgeLabel L-LS-C&#039; L-LE-D\">\u5408\u6cd5<\/span><span id=\"L-L-C-E\" class=\"edgeLabel L-LS-C&#039; L-LE-E\">\u975e\u6cd5<\/span><span id=\"L-L-D-F\" class=\"edgeLabel L-LS-D&#039; L-LE-F\"><\/span><span id=\"L-L-E-G\" class=\"edgeLabel L-LS-E&#039; L-LE-G\"><\/span>\u6d4f\u89c8\u5668\u8bf7\u6c42\u670d\u52a1\u7aef\u68c0\u67e5 Origin \u5408\u6cd5\u6027\u6dfb\u52a0 CORS \u54cd\u5e94\u5934\u4e0d\u6dfb\u52a0 CORS \u5934\u6d4f\u89c8\u5668\u653e\u884c\u8bf7\u6c42\u6d4f\u89c8\u5668\u62e6\u622a\u8bf7\u6c42<\/p>\n<p>\u901a\u8fc7\u8fd9\u4e00\u673a\u5236&#xff0c;CORS \u5728\u4e0d\u727a\u7272\u5b89\u5168\u6027\u7684\u524d\u63d0\u4e0b\u5b9e\u73b0\u4e86\u53ef\u63a7\u7684\u8de8\u57df\u8d44\u6e90\u5171\u4eab&#xff0c;\u6210\u4e3a\u73b0\u4ee3 Web \u5f00\u53d1\u7684\u57fa\u77f3\u6280\u672f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb9\u6b21\u3002CORS\uff08\u8de8\u57df\u8d44\u6e90\u5171\u4eab\uff09\u662f\u6d4f\u89c8\u5668\u4e0e\u670d\u52a1\u5668\u95f4\u7684\u5b89\u5168\u534f\u5546\u673a\u5236\uff0c\u901a\u8fc7HTTP\u54cd\u5e94\u5934\u5b9e\u73b0\u8de8\u57df\u8bbf\u95ee\u63a7\u5236\u3002\u670d\u52a1\u5668\u68c0\u67e5\u8bf7\u6c42\u7684Origin\u5934\uff0c\u82e5\u5141\u8bb8\u8bbf\u95ee\u5219\u8fd4\u56deAccess-Control-Allow-Origin\u7b49\u54cd\u5e94\u5934\uff0c\u6d4f\u89c8\u5668\u9a8c\u8bc1\u901a\u8fc7\u540e\u89e3\u9664\u62e6\u622a\u3002\u590d\u6742\u8bf7\u6c42\u4f1a\u89e6\u53d1\u9884\u68c0OPTIONS\u8bf7\u6c42\u3002\u6838\u5fc3\u5728\u4e8e\u670d\u52a1\u7aef\u901a\u8fc7\u54cd\u5e94\u5934\u58f0\u660e\u5141\u8bb8\u7684\u6e90\u3001\u65b9\u6cd5\u548c\u5934\u90e8\uff0c\u6d4f\u89c8\u5668\u6267\u884c\u9a8c\u8bc1\u3002CORS\u786e\u4fdd\u4e86\u8de8\u57df\u8bf7\u6c42\u7684\u5b89\u5168\u53ef\u63a7\uff0c\u9632\u6b62\u6076\u610f\u7f51\u7ad9\u83b7\u53d6\u6570\u636e\uff0c\u662f\u73b0\u4ee3Web\u5f00\u53d1\u7684\u57fa\u7840\u5b89\u5168\u673a\u5236\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1606,99,87,292,211],"topic":[],"class_list":["post-54163","post","type-post","status-publish","format-standard","hentry","category-server","tag-edge","tag-java","tag-87","tag-292","tag-211"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/54163.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb9\u6b21\u3002CORS\uff08\u8de8\u57df\u8d44\u6e90\u5171\u4eab\uff09\u662f\u6d4f\u89c8\u5668\u4e0e\u670d\u52a1\u5668\u95f4\u7684\u5b89\u5168\u534f\u5546\u673a\u5236\uff0c\u901a\u8fc7HTTP\u54cd\u5e94\u5934\u5b9e\u73b0\u8de8\u57df\u8bbf\u95ee\u63a7\u5236\u3002\u670d\u52a1\u5668\u68c0\u67e5\u8bf7\u6c42\u7684Origin\u5934\uff0c\u82e5\u5141\u8bb8\u8bbf\u95ee\u5219\u8fd4\u56deAccess-Control-Allow-Origin\u7b49\u54cd\u5e94\u5934\uff0c\u6d4f\u89c8\u5668\u9a8c\u8bc1\u901a\u8fc7\u540e\u89e3\u9664\u62e6\u622a\u3002\u590d\u6742\u8bf7\u6c42\u4f1a\u89e6\u53d1\u9884\u68c0OPTIONS\u8bf7\u6c42\u3002\u6838\u5fc3\u5728\u4e8e\u670d\u52a1\u7aef\u901a\u8fc7\u54cd\u5e94\u5934\u58f0\u660e\u5141\u8bb8\u7684\u6e90\u3001\u65b9\u6cd5\u548c\u5934\u90e8\uff0c\u6d4f\u89c8\u5668\u6267\u884c\u9a8c\u8bc1\u3002CORS\u786e\u4fdd\u4e86\u8de8\u57df\u8bf7\u6c42\u7684\u5b89\u5168\u53ef\u63a7\uff0c\u9632\u6b62\u6076\u610f\u7f51\u7ad9\u83b7\u53d6\u6570\u636e\uff0c\u662f\u73b0\u4ee3Web\u5f00\u53d1\u7684\u57fa\u7840\u5b89\u5168\u673a\u5236\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/54163.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-12T15:19:39+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/54163.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/54163.html\",\"name\":\"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-12T15:19:39+00:00\",\"dateModified\":\"2025-08-12T15:19:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/54163.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/54163.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/54163.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/54163.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb9\u6b21\u3002CORS\uff08\u8de8\u57df\u8d44\u6e90\u5171\u4eab\uff09\u662f\u6d4f\u89c8\u5668\u4e0e\u670d\u52a1\u5668\u95f4\u7684\u5b89\u5168\u534f\u5546\u673a\u5236\uff0c\u901a\u8fc7HTTP\u54cd\u5e94\u5934\u5b9e\u73b0\u8de8\u57df\u8bbf\u95ee\u63a7\u5236\u3002\u670d\u52a1\u5668\u68c0\u67e5\u8bf7\u6c42\u7684Origin\u5934\uff0c\u82e5\u5141\u8bb8\u8bbf\u95ee\u5219\u8fd4\u56deAccess-Control-Allow-Origin\u7b49\u54cd\u5e94\u5934\uff0c\u6d4f\u89c8\u5668\u9a8c\u8bc1\u901a\u8fc7\u540e\u89e3\u9664\u62e6\u622a\u3002\u590d\u6742\u8bf7\u6c42\u4f1a\u89e6\u53d1\u9884\u68c0OPTIONS\u8bf7\u6c42\u3002\u6838\u5fc3\u5728\u4e8e\u670d\u52a1\u7aef\u901a\u8fc7\u54cd\u5e94\u5934\u58f0\u660e\u5141\u8bb8\u7684\u6e90\u3001\u65b9\u6cd5\u548c\u5934\u90e8\uff0c\u6d4f\u89c8\u5668\u6267\u884c\u9a8c\u8bc1\u3002CORS\u786e\u4fdd\u4e86\u8de8\u57df\u8bf7\u6c42\u7684\u5b89\u5168\u53ef\u63a7\uff0c\u9632\u6b62\u6076\u610f\u7f51\u7ad9\u83b7\u53d6\u6570\u636e\uff0c\u662f\u73b0\u4ee3Web\u5f00\u53d1\u7684\u57fa\u7840\u5b89\u5168\u673a\u5236\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/54163.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-12T15:19:39+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/54163.html","url":"https:\/\/www.wsisp.com\/helps\/54163.html","name":"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-12T15:19:39+00:00","dateModified":"2025-08-12T15:19:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/54163.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/54163.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/54163.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u7aef\u914d\u7f6e CORS\u89e3\u51b3\u8de8\u57df\u95ee\u9898\u7684\u539f\u7406"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/54163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=54163"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/54163\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=54163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=54163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=54163"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=54163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}