{"id":44284,"date":"2023-10-05T12:12:59","date_gmt":"2023-10-05T04:12:59","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=44284"},"modified":"2023-10-05T12:12:59","modified_gmt":"2023-10-05T04:12:59","slug":"njsbnfsjdjs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/44284.html","title":{"rendered":"422\u80fd\u63a5\u6536\u4e0d\u80fd\u53d1\u9001\uff1a\u7b80\u5355\u89e3\u91ca"},"content":{"rendered":"

  HTTP\u72b6\u6001\u7801422\uff08Unprocessable Entity\uff09\u8868\u793a\u670d\u52a1\u5668\u65e0\u6cd5\u5904\u7406\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u8fd9\u662f\u4e00\u4e2a\u5e38\u89c1\u7684HTTP\u9519\u8bef\u3002<\/strong>\u5b83\u6bd4404\uff08\u672a\u627e\u5230\uff09\u548c403\uff08\u7981\u6b62\uff09\u66f4\u590d\u6742\uff0c\u56e0\u4e3a\u5b83\u8868\u793a\u670d\u52a1\u5668\u53ef\u4ee5\u7406\u89e3\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u4f46\u65e0\u6cd5\u5904\u7406\u5b83\u4eec\u3002\u8fd9\u610f\u5473\u7740\uff0c\u670d\u52a1\u5668\u53ef\u4ee5\u63a5\u6536\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u4f46\u65e0\u6cd5\u53d1\u9001\u54cd\u5e94\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdHTTP\u72b6\u6001\u7801422\uff0c\u4ee5\u53ca\u5b83\u5982\u4f55\u5f71\u54cdWeb\u5e94\u7528\u7a0b\u5e8f\u548c\u5ba2\u6237\u7aef\u3002<\/p>\n

\u4ec0\u4e48\u662fHTTP\u72b6\u6001\u7801422\uff1f<\/h2>\n

  HTTP\u72b6\u6001\u7801422\uff08Unprocessable Entity\uff09\u662f\u4e00\u4e2aHTTP\u9519\u8bef\u4ee3\u7801\uff0c\u8868\u793a\u670d\u52a1\u5668\u65e0\u6cd5\u5904\u7406\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\u3002\u5b83\u662f\u4e00\u4e2a\u7279\u6b8a\u7c7b\u578b\u76844xx\u9519\u8bef\uff0c\u8868\u793a\u5ba2\u6237\u7aef\u9519\u8bef\u3002HTTP\u72b6\u6001\u7801422\u88ab\u5b9a\u4e49\u4e3a\u201c\u8bf7\u6c42\u683c\u5f0f\u6b63\u786e\uff0c\u4f46\u662f\u7531\u4e8e\u542b\u6709\u8bed\u4e49\u9519\u8bef\uff0c\u65e0\u6cd5\u54cd\u5e94\u201d\u3002\u5b83\u6bd4\u5176\u4ed64xx\u9519\u8bef\u66f4\u590d\u6742\uff0c\u56e0\u4e3a\u5b83\u8868\u793a\u670d\u52a1\u5668\u53ef\u4ee5\u7406\u89e3\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u4f46\u65e0\u6cd5\u5904\u7406\u5b83\u4eec\u3002\u8fd9\u610f\u5473\u7740\uff0c\u670d\u52a1\u5668\u53ef\u4ee5\u63a5\u6536\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u4f46\u65e0\u6cd5\u53d1\u9001\u54cd\u5e94\u3002<\/p>\n

422\u9519\u8bef\u7684\u539f\u56e0<\/h2>\n

  HTTP\u72b6\u6001\u7801422\u901a\u5e38\u662f\u7531\u4e8e\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\u683c\u5f0f\u6b63\u786e\uff0c\u4f46\u5305\u542b\u6709\u8bed\u4e49\u9519\u8bef\u800c\u5bfc\u81f4\u7684\u3002\u8fd9\u4e9b\u8bed\u4e49\u9519\u8bef\u53ef\u80fd\u662f\u7531\u4e8e\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u4e0d\u6b63\u786e\u7684\u53c2\u6570\uff0c\u6216\u8005\u670d\u52a1\u5668\u65e0\u6cd5\u8bc6\u522b\u7684\u53c2\u6570\u7b49\u539f\u56e0\u9020\u6210\u7684\u3002\u6b64\u5916\uff0cHTTP\u72b6\u6001\u7801422\u4e5f\u53ef\u80fd\u662f\u7531\u4e8e\u670d\u52a1\u5668\u5185\u90e8\u9519\u8bef\uff0c\u4f8b\u5982\u670d\u52a1\u5668\u65e0\u6cd5\u5904\u7406\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u6216\u8005\u670d\u52a1\u5668\u65e0\u6cd5\u5b8c\u6210\u8bf7\u6c42\u7b49\u539f\u56e0\u800c\u5bfc\u81f4\u7684\u3002<\/p>\n

\u5982\u4f55\u5904\u7406422\u9519\u8bef\uff1f<\/h2>\n

  \u5bf9\u4e8eHTTP\u72b6\u6001\u7801422\uff0c\u6700\u4f73\u7684\u5904\u7406\u65b9\u6cd5\u662f\u68c0\u67e5\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u786e\u4fdd\u5b83\u4eec\u662f\u6b63\u786e\u7684\u3002\u5982\u679c\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\u662f\u6b63\u786e\u7684\uff0c\u5219\u53ef\u4ee5\u68c0\u67e5\u670d\u52a1\u5668\u7684\u8bbe\u7f6e\u548c\u914d\u7f6e\uff0c\u4ee5\u786e\u4fdd\u5b83\u4eec\u662f\u6b63\u786e\u7684\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u68c0\u67e5\u670d\u52a1\u5668\u4e0a\u7684\u65e5\u5fd7\uff0c\u4ee5\u67e5\u770b\u662f\u5426\u6709\u4efb\u4f55\u9519\u8bef\u4fe1\u606f\uff0c\u8fd9\u53ef\u4ee5\u6709\u52a9\u4e8e\u67e5\u660e\u9519\u8bef\u7684\u539f\u56e0\u3002\u5982\u679c\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\u662f\u6b63\u786e\u7684\uff0c\u4f46\u670d\u52a1\u5668\u4ecd\u7136\u65e0\u6cd5\u5904\u7406\u5b83\u4eec\uff0c\u5219\u53ef\u4ee5\u8003\u8651\u66f4\u6539\u670d\u52a1\u5668\u7684\u914d\u7f6e\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u5904\u7406\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  HTTP\u72b6\u6001\u7801422\uff08Unprocessable Entity\uff09\u8868\u793a\u670d\u52a1\u5668\u65e0\u6cd5\u5904\u7406\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u8fd9\u662f\u4e00\u4e2a\u5e38\u89c1\u7684HTTP\u9519\u8bef\u3002<\/strong>\u5b83\u6bd4404\uff08\u672a\u627e\u5230\uff09\u548c403\uff08\u7981\u6b62\uff09\u66f4\u590d\u6742\uff0c\u56e0\u4e3a\u5b83\u8868\u793a\u670d\u52a1\u5668\u53ef\u4ee5\u7406\u89e3\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u4f46\u65e0\u6cd5\u5904\u7406\u5b83\u4eec\u3002HTTP\u72b6\u6001\u7801422\u901a\u5e38\u662f\u7531\u4e8e\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\u683c\u5f0f\u6b63\u786e\uff0c\u4f46\u5305\u542b\u6709\u8bed\u4e49\u9519\u8bef\u800c\u5bfc\u81f4\u7684\u3002\u5bf9\u4e8eHTTP\u72b6\u6001\u7801422\uff0c\u6700\u4f73\u7684\u5904\u7406\u65b9\u6cd5\u662f\u68c0\u67e5\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u786e\u4fdd\u5b83\u4eec\u662f\u6b63\u786e\u7684\uff0c\u5e76\u68c0\u67e5\u670d\u52a1\u5668\u7684\u8bbe\u7f6e\u548c\u914d\u7f6e\uff0c\u4ee5\u786e\u4fdd\u5b83\u4eec\u662f\u6b63\u786e\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

HTTP\u72b6\u6001\u7801422\uff08UnprocessableEntity\uff09\u8868\u793a\u670d\u52a1\u5668\u65e0\u6cd5\u5904\u7406\u5ba2\u6237\u7aef\u53d1\u9001\u7684\u8bf7\u6c42\uff0c\u8fd9\u662f\u4e00\u4e2a\u5e38\u89c1\u7684HTTP\u9519\u8bef\u3002\u5b83\u6bd440<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[259],"class_list":["post-44284","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-rs422"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=44284"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/44284\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=44284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=44284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=44284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}