{"id":108363,"date":"2024-06-24T11:15:50","date_gmt":"2024-06-24T02:15:50","guid":{"rendered":"https:\/\/www.key-p.com\/blog\/staff\/?p=108363"},"modified":"2025-12-26T14:21:21","modified_gmt":"2025-12-26T05:21:21","slug":"%e3%82%88%e3%81%8f%e8%a6%8b%e3%82%8bhttp%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%be%e3%81%a8%e3%82%81%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/www.key-p.com\/blog\/staff\/archives\/108363","title":{"rendered":"\u3088\u304f\u898b\u308bHTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u307e\u3068\u3081\u3066\u307f\u305f"},"content":{"rendered":"<p>\n<p>\u3053\u3093\u306b\u3061\u306f\u3002\u5165\u793e2\u5e74\u76ee\u306e\u5c71\u672c\u5d07\u53f2\u3067\u3059\u3002<\/p>\n<p>PHP\u3092\u89e6\u3063\u3066\u3044\u308b\u3068\u907f\u3051\u3066\u306f\u901a\u308c\u306a\u3044\u3082\u306e\u306e\u4e00\u3064\u306bHTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u3082\u500b\u4eba\u7684\u306b\u3088\u304f\u898b\u304b\u3051\u308b\u3082\u306e\u3092\u3056\u3063\u304f\u308a\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306f\u3072\u3068\u307e\u305a\u4f55\u756a\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>HTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3068\u306f<\/h3>\n<p>\u7279\u5b9a\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6b63\u5e38\u306b\u5b8c\u4e86\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u793a\u30593\u6841\u306e\u6570\u5b57\u306e\u3053\u3068\u3002<\/p>\n<p>\u5927\u96d1\u628a\u306b\u7d39\u4ecb\u3059\u308b\u3068\u6b21\u306e5\u3064\u306b\u5206\u985e\u3055\u308c\u307e\u3059\uff1a<\/p>\n<ul>\n<li>1xx\uff08\u60c5\u5831\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/li>\n<li>2xx\uff08\u6210\u529f\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/li>\n<li>3xx\uff08\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\uff09<\/li>\n<li>4xx\uff08\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/li>\n<li>5xx\uff08\u30b5\u30fc\u30d0\u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/li>\n<\/ul>\n<p>\u500b\u4eba\u7684\u306b\u3088\u304f\u898b\u308b\u306e\u306f\u3001\u6210\u529f\u3057\u305f\u6642\u306e200\u3001\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u6642\u306e400\u3001500\u756a\u53f0\u3042\u305f\u308a\u3002<\/p>\n<h3>\u3082\u3063\u3068\u8a73\u3057\u304f<\/h3>\n<h4>1xx\uff08\u60c5\u5831\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/h4>\n<p>100\u756a\u53f0\u306f\u7279\u306b\u898b\u304b\u3051\u308b\u3053\u3068\u304c\u306a\u304f\u3001\u3042\u307e\u308a\u99b4\u67d3\u307f\u304c\u306a\u3044\u3067\u3059\u304c\u30011\u3064\u3060\u3051\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><strong>100 Continue<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/100.jpg\" alt=\"\" \/>\n<p>\u66ab\u5b9a\u30ec\u30b9\u30dd\u30f3\u30b9\u3002\u305d\u306e\u6642\u70b9\u307e\u3067\u306e\u5168\u3066\u306b\u554f\u984c\u304c\u306a\u304f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u7d99\u7d9a\u3067\u304d\u308b\u3053\u3068\u3092\u793a\u3059\u3002<\/p>\n<h4>2xx\uff08\u6210\u529f\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/h4>\n<p><strong>200 OK<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/200.jpg\" alt=\"\" \/>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6210\u529f\u3057\u305f\u3053\u3068\u3092\u793a\u3059\u3002\u4e0a\u624b\u304f\u3044\u3063\u3066\u3044\u308b\u3068\u304d\u306f\u3053\u308c\u304c\u51fa\u308b\u306f\u305a\u3002<\/p>\n<h4>3xx\uff08\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\uff09<\/h4>\n<p><strong>301 Moved Permanently<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/301.jpg\" alt=\"\" \/>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u306eURL\u304c\u6c38\u9060\u306b\u5909\u66f4\u3055\u308c\u305f\u3053\u3068\u3092\u793a\u3059\u3002\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304c\u79fb\u8ee2\u3057\u305f\u3068\u304d\u306a\u3069\u306b\u7528\u3044\u3089\u308c\u308b\u3002<\/p>\n<p><strong>302 Found<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/302.jpg\" alt=\"\" \/>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u304c\u4e00\u6642\u7684\u306b\u79fb\u52d5\u3055\u308c\u3066\u3044\u308b\u3068\u304d\u306b\u8fd4\u3055\u308c\u308b\u3002<\/p>\n<p><strong>304 Not Modified<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/304.jpg\" alt=\"\" \/>\n<p>\u30ad\u30e3\u30c3\u30b7\u30e5\u7528\u306b\u4f7f\u7528\u3055\u308c\u308b\u3002\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u305f\u30ea\u30bd\u30fc\u30b9\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u793a\u3059\u3002<\/p>\n<h4>4xx\uff08\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/h4>\n<p><strong>400 Bad Request<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/400.jpg\" alt=\"\" \/>\n<p>\u30b5\u30fc\u30d0\u304c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u7406\u89e3\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u793a\u3059\u3002<\/p>\n<p><strong>403 Forbidden<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/403.jpg\" alt=\"\" \/>\n<p>\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3092\u62d2\u5426\u3055\u308c\u305f\u3068\u304d\u306b\u8fd4\u3055\u308c\u308b\u3002\u30a2\u30af\u30bb\u30b9\u3059\u308b\u6a29\u9650\u304c\u306a\u3044\u5834\u5408\u306a\u3069\u306b\u7528\u3044\u3089\u308c\u308b\u3002<\/p>\n<p><strong>404 Not Found<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/404.jpg\" alt=\"\" \/>\n<p>\u30b5\u30fc\u30d0\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u3092\u767a\u898b\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u793a\u3059\u3002<\/p>\n<p><strong>419 Invalid CSRF tokens<\/strong><br \/>\n\u7121\u52b9\u306aCSRF\u30c8\u30fc\u30af\u30f3\u3002Laravel\u3067\u4f7f\u7528\u3055\u308c\u308b\u3002\u500b\u4eba\u7684\u306b\u306f\u307e\u3060\u51fa\u4f1a\u3063\u305f\u3053\u3068\u306f\u306a\u3044\u304c\u3001\u4eca\u5f8c\u51fa\u4f1a\u3046\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u7d39\u4ecb\u3002<\/p>\n<p><strong>422 Unprocessable Content<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/422.jpg\" alt=\"\" \/>\n<p>\u30b5\u30fc\u30d0\u306b\u6e21\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306b\u8aa4\u308a\u304c\u3042\u308a\u3001\u9069\u5207\u306b\u51e6\u7406\u3092\u5b8c\u4e86\u3067\u304d\u306a\u304b\u3063\u305f\u3068\u304d\u306b\u8fd4\u3055\u308c\u308b\u3002<\/p>\n<p><strong>429 Too Many Requests<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/429.jpg\" alt=\"\" \/>\n<p>\u4e00\u5b9a\u6642\u9593\u306b\u5927\u91cf\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u305f\u305f\u3081\u306b\u3001\u30b5\u30fc\u30d0\u304c\u51e6\u7406\u3092\u62d2\u5426\u3059\u308b\u5834\u5408\u306b\u8fd4\u3055\u308c\u308b\u3002Laravel\u306e\u5834\u5408\u3001\u540c\u4e00\u30e6\u30fc\u30b6\u307e\u305f\u306f\u540c\u4e00IP\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c1\u5206\u9593\u306b60\u56de\u3092\u8d85\u3048\u308b\u3068\u51fa\u308b\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u308b\uff08\u8abf\u6574\u53ef\u80fd\uff09\u3002\u7279\u306bAPI\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u6ce8\u610f\u3057\u305f\u3044\u3002<\/p>\n<h4>5xx\uff08\u30b5\u30fc\u30d0\u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\uff09<\/h4>\n<p><strong>500 Internal Server Error<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/500.jpg\" alt=\"\" \/>\n<p>\u30b5\u30fc\u30d0\u5185\u90e8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306b\u8fd4\u3055\u308c\u308b\u3002\u304a\u305d\u3089\u304f\u6700\u3082\u3088\u304f\u898b\u304b\u3051\u308b\u30a8\u30e9\u30fc\u3002\u3053\u308c\u3060\u3051\u3060\u3068\u4f55\u304c\u8d77\u304d\u3066\u3044\u308b\u306e\u304b\u628a\u63e1\u3057\u304d\u308c\u306a\u3044\u306e\u3067\u3001\u30b3\u30fc\u30c9\u3084\u30ed\u30b0\u306a\u3069\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p><strong>502 Bad Gateway<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/502.jpg\" alt=\"\" \/>\n<p>\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3084\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u30b5\u30fc\u30d0\u304c\u4e0a\u6d41\u306e\u30b5\u30fc\u30d0\u304b\u3089\u7121\u52b9\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u53d7\u3051\u53d6\u3063\u305f\u3053\u3068\u3092\u793a\u3059\u3002<\/p>\n<p>\u958b\u767a\u3092\u3057\u3066\u3044\u3066\u51fa\u4f1a\u3063\u305f\u3053\u3068\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u8abf\u3079\u7269\u3092\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u305f\u307e\u306b\u3053\u3046\u3044\u3046\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u30b5\u30a4\u30c8\u304c\u3042\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p><strong>503 Service Unavailable<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/503.jpg\" alt=\"\" \/>\n<p>\u30b5\u30fc\u30d3\u30b9\u304c\u4e00\u6642\u7684\u306b\u904e\u8ca0\u8377\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3067\u4f7f\u7528\u4e0d\u53ef\u80fd\u3067\u3042\u308b\u3068\u304d\u306b\u8fd4\u3055\u308c\u308b\u3002Laravel\u3067\u306f<code>php artisan down<\/code>\u3067\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30e2\u30fc\u30c9\u306b\u5207\u308a\u66ff\u3048\u305f\u3068\u304d\u306b\u51fa\u3066\u304f\u308b\u3002<\/p>\n<p><strong>504 Gateway Timeout<\/strong><\/p>\n<img src=\"http:\/\/www.key-p.com\/blog\/staff\/wp-content\/uploads\/2024\/05\/504.jpg\" alt=\"\" \/>\n<p>\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3084\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u30b5\u30fc\u30d0\u304c\u4e0a\u6d41\u306e\u30b5\u30fc\u30d0\u304b\u3089\u6642\u9593\u5185\u306b\u9069\u5207\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u3053\u3068\u3092\u793a\u3059\u3002<\/p>\n<h3>\u6700\u5f8c\u306b<\/h3>\n<p>\u4ed6\u306b\u3082HTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002HTTP Cats\u306e\u732b\u306b\u7652\u3055\u308c\u306a\u304c\u3089\u3001\u697d\u3057\u304f\u5b66\u3093\u3067\u3044\u304d\u307e\u3057\u3087\u30fc\uff01\uff01<\/p>\n<h4>\u53c2\u8003<\/h4>\n<p><strong>HTTP Cats<\/strong><br \/>\n<a href=\"https:\/\/http.cat\">https:\/\/http.cat<\/a><\/p>\n<p><strong>http.cat (GitHub)<\/strong><br \/>\n<a href=\"https:\/\/github.com\/httpcats\/http.cat\">https:\/\/github.com\/httpcats\/http.cat<\/a><\/p>\n<p><strong>\u30e9\u30a4\u30bb\u30f3\u30b9<\/strong><br \/>\n<a href=\"https:\/\/github.com\/httpcats\/http.cat\/blob\/master\/LICENSE\">https:\/\/github.com\/httpcats\/http.cat\/blob\/master\/LICENSE<\/a><\/p>\n<p><strong>HTTP \u30ec\u30b9\u30dd\u30f3\u30b9\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9 - HTTP | MDN<\/strong><br \/>\n<a href=\"https:\/\/developer.mozilla.org\">https:\/\/developer.mozilla.org<\/a><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u5165\u793e2\u5e74\u76ee\u306e\u5c71\u672c\u5d07\u53f2\u3067\u3059\u3002 PHP\u3092\u89e6\u3063\u3066\u3044\u308b\u3068\u907f\u3051\u3066\u306f\u901a\u308c\u306a\u3044\u3082\u306e &hellip; <a href=\"https:\/\/www.key-p.com\/blog\/staff\/archives\/108363\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":64,"featured_media":108365,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[62],"tags":[],"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/posts\/108363"}],"collection":[{"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/comments?post=108363"}],"version-history":[{"count":7,"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/posts\/108363\/revisions"}],"predecessor-version":[{"id":108532,"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/posts\/108363\/revisions\/108532"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/media\/108365"}],"wp:attachment":[{"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/media?parent=108363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/categories?post=108363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.key-p.com\/blog\/staff\/wp-json\/wp\/v2\/tags?post=108363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}