{"id":246506,"date":"2020-12-19T15:20:33","date_gmt":"2020-12-19T07:20:33","guid":{"rendered":"http:\/\/4563.org\/?p=246506"},"modified":"2020-12-19T15:20:33","modified_gmt":"2020-12-19T07:20:33","slug":"%e4%b8%ba%e4%bb%80%e4%b9%88%e6%b5%8f%e8%a7%88%e5%99%a8-ajax-%e7%9a%84-get-%e6%98%af%e5%b9%82%e7%ad%89%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=246506","title":{"rendered":"\u4e3a\u4ec0\u4e48\u6d4f\u89c8\u5668 AJAX \u7684 GET \u662f\u5e42\u7b49\u7684\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e3a\u4ec0\u4e48\u6d4f\u89c8\u5668 AJAX \u7684 GET \u662f\u5e42\u7b49\u7684\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6bd4\u5982\u8981 GET \u4e00\u4e2a URL \u6587\u4ef6\uff0c\u6b63\u5e38\u8bbf\u95ee\u6d41\u7a0b\u3002\u80af\u5b9a\u662f\u6d4f\u89c8\u5668\u5148\u5411\u670d\u52a1\u5668\u53bb\u67e5\u8be2\u6587\u4ef6\u6700\u540e\u4fee\u6539\u65f6\u95f4\uff0c\u7136\u540e\u5224\u65ad\u662f\u4e0d\u662f\u9700\u8981\u91cd\u65b0\u4e0b\u8f7d\uff0c\u8fd8\u662f\u76f4\u63a5\u8df3\u8fc7\u3002<\/p>\n<p>\u53ef\u662f\u73b0\u5728\u6d4f\u89c8\u5668\u5e76\u4e0d\u662f\u8fd9\u6837\u5904\u7406\uff0c\u53ea\u6709 POST \u4f1a\u5411\u670d\u52a1\u5668\u8bf7\u6c42\u6570\u636e\uff0c\u800c GET \u53ea\u8981 URL \u76f8\u7b49\uff08\u4e5f\u5c31\u662f\u5e42\u7b49\uff09\uff0c\u5c31\u9ed8\u8ba4\u6587\u4ef6\u5df2\u7ecf\u6700\u65b0\u7248\u4e86\uff1f\u8fd9\u5408\u7406\u5417\uff0c\u5e76\u4e0d\u5408\u7406\u5427\u3002<\/p>\n<p>\u6211\u77e5\u9053 GET \u5c41\u80a1\u540e\u9762\u52a0\u4e2a\u65f6\u95f4\u6233\u53ef\u4ee5\u89e3\u51b3\u95ee\u9898\uff0c\u4f46\u6709 304 Not Modified \u89c4\u8303\u4e0d\u7528\uff0c\u81ea\u4f5c\u806a\u660e\u76f4\u63a5\u8df3\u8fc7\u670d\u52a1\u5668\u8bbf\u95ee\u6b65\u9aa4\uff0c\u8fd9\u70b9\u6211\u5c31\u5f88\u4e0d\u7406\u89e3\u4e86\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4802042\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mxT52CRuqR6o5 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u767e\u5ea6 [\u5f3a\u7f13\u5b58] \u3001 [\u534f\u5546\u7f13\u5b58]                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4802043\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mxT52CRuqR6o5 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6240\u8c13\u7684 GET \u5e42\u7b49\uff0c\u662f\u56e0\u4e3a\u670d\u52a1\u5668\u544a\u8bc9\u6d4f\u89c8\u5668\u8fd9\u4e48\u505a\u7684\uff0c\u662f\u670d\u52a1\u5668\u914d\u7f6e\u6709\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4802044\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : randyo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u770b\u770b http \u7f13\u5b58\u673a\u5236\uff0c\u5c31\u77e5\u9053\u7406\u89e3\u6709\u6ca1\u6709\u504f\u5dee                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4802045\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mxT52CRuqR6o5 \u6211\u670d\u52a1\u5668\u7f13\u5b58\u8bbe\u7f6e\u6ca1\u95ee\u9898\uff0c\u9ed8\u8ba4\u6d4f\u89c8\u5668\u7528 GET \u8bbf\u95ee\u5f88\u597d\uff0c\u6b63\u5e38\u8fd4\u56de 304 \u3002\u4f46\u662f\u653e\u5728 AJAX \u91cc\u8fd0\u884c\uff0c\u5c31\u662f\u4e0d\u884c\u3002<\/p>\n<p>\u6211\u5c31\u60f3\u95ee\u95ee\uff0c\u540c\u6837\u662f GET\uff0c\u6709\u4ec0\u4e48\u7406\u7531\u8981\u533a\u522b\u5bf9\u5f85\uff1f<\/p>\n<p>\u800c\u4e14\u6211\u4e5f\u4e0d\u60f3\u7528 POST\uff0c\u6216\u8005\u5b8c\u5168\u5173\u7f13\u5b58\u3002GET \u67e5\u4e2a HTTP HEAD \u8be2\u95ee\u670d\u52a1\u5668\uff0c\u6587\u4ef6\u6709\u6ca1\u6709\u6700\u65b0\u7248\u672c\uff0c\u8fd9\u4e0d\u662f\u5e38\u89c4\u64cd\u4f5c\u5417\uff1f\u600e\u4e48\u5230 AJAX \u91cc\uff0c\u5c31\u53d8\u5f97\u90a3\u4e48\u590d\u6742\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4802046\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oott123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u662f Safari \u53d7\u5bb3\u8005\u5417\uff1f Safari \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\u7684\u5b9e\u73b0\u5e76\u4e0d\u89c4\u8303\uff0c\u662f\u5b83\u81ea\u4f5c\u806a\u660e\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4802047\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Google \u4e86\u4e00\u4e0b\uff0c\u770b\u4e86 RFC\uff0c\u7ec8\u4e8e\u77e5\u9053\u4ec0\u4e48\u53eb\u5e42\u7b49\uff0c\u539f\u6765\u4e0d\u662f\u7f51\u4e0a\u6d41\u4f20\u7684\u8c23\u8a00\uff0c\u662f URL \u76f8\u7b49\uff0c\u548c\u91cd\u590d\u63d0\u4ea4\u6709\u5173\u7cfb\u3002\u662f\u901a\u77e5\u6d4f\u89c8\u5668\uff0c\u5982\u679c GET \u4e00\u534a\u7f51\u7edc\u65ad\u5f00\u540e\u91cd\u8fde\uff0c\u53ef\u4ee5\u540e\u53f0\u81ea\u52a8\u91cd\u65b0\u53d1\u9001\u6570\u636e\u7684\u610f\u601d\u3002<br \/>POST \u4e0d\u662f\u5e42\u7b49\u8bf7\u6c42\uff0c\u6240\u4ee5\u65ad\u7f51\u51e0\u79d2\u540e\u81ea\u52a8\u6062\u590d\uff0c\u670d\u52a1\u5668\u662f\u4e0d\u4f1a\u91cd\u65b0\u53bb\u6267\u884c\u4e00\u6b21\u63d0\u4ea4\u7684\u3002<br \/>\u8fd9\u70b9\u5728 DELETE \u4e0a\u4e5f\u6709\u8bf4\u660e\uff0c\u670d\u52a1\u5668\u8981\u5904\u7406\u8fd9\u79cd\u60c5\u51b5\uff0c\u5c31\u662f\u4e3a\u4e86\u9632\u6b62\u5ba2\u6237\u7aef\u591a\u6b21\u63d0\u4ea4\u76f8\u540c\u7684 URL\uff0c\u7ed3\u679c\u4f1a\u4e0d\u53ef\u9884\u6d4b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4802048\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             POST \u4e0d\u662f\u5e42\u7b49\u8bf7\u6c42\uff0c\u6240\u4ee5\u65ad\u7f51\u51e0\u79d2\u540e\u81ea\u52a8\u6062\u590d\uff0c\u6d4f\u89c8\u5668\u662f\u4e0d\u4f1a\u91cd\u65b0\u53bb\u6267\u884c\u4e00\u6b21\u63d0\u4ea4\u7684\u3002<\/p>\n<p>\u8bba\u575b\u6253\u9519\u5b57\u4e0d\u80fd\u7f16\u8f91\u597d\u70e6\u554a\uff0c\u56de\u5e16\u5c31\u4e0d\u80fd\u5b66\u5b66\u53d1\u5e16\uff0c2 \u5206\u949f\u5185\u5141\u8bb8\u81ea\u5df1\u7f16\u8f91\u5417\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u6d4f\u89c8\u5668 AJAX \u7684 GET&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/246506"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=246506"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/246506\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=246506"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=246506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}