{"id":1012,"date":"2015-10-23T11:00:15","date_gmt":"2015-10-23T02:00:15","guid":{"rendered":"http:\/\/www.ois-yokohama.co.jp\/oisblog\/?p=1012"},"modified":"2021-04-16T13:19:42","modified_gmt":"2021-04-16T04:19:42","slug":"%e7%a4%be%e5%86%85%e7%a0%94%e4%bf%ae%e3%80%8chttp%e3%81%8b%e3%82%89%e5%ad%a6%e3%81%b6tcpip%e5%9f%ba%e7%a4%8e%e3%80%8d6","status":"publish","type":"post","link":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/1012","title":{"rendered":"\u793e\u5185\u7814\u4fee\u300cHTTP\u304b\u3089\u5b66\u3076TCP\/IP\u57fa\u790e\u300d(6)"},"content":{"rendered":"<div class=\"veu_autoEyeCatchBox\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2019\/01\/pic_c076-1024x683.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2019\/01\/pic_c076-1024x683.jpg 1024w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2019\/01\/pic_c076-300x200.jpg 300w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2019\/01\/pic_c076-768x512.jpg 768w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2019\/01\/pic_c076.jpg 1280w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/div>\n<p>\u3053\u3093\u306b\u3061\u306fOIS\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u305f\u3060\u3063\u3057\u30fc\u3067\u3059\u3002<br \/>\n\u524d\u56de\u307e\u3067HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30d8\u30c3\u30c0\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\uff08\u9577\u304b\u3063\u305f\u3067\u3059\u304c\uff09<br \/>\n\u5f15\u304d\u7d9a\u304d\u3001\u4eca\u56de\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u672c\u4f53\u306e\u8aac\u660e\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<br \/>\n\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u672c\u4f53\u306f\u3001\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u3063\u3066\u5185\u5bb9\u304c\u5909\u308f\u3063\u3066\u304d\u307e\u3059\u306e\u3067\u3001GET\u3068POST\u3067\u305d\u308c\u305e\u308c\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u304b\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>GET\u306e\u5834\u5408<\/h2>\n<p>GET\u30e1\u30bd\u30c3\u30c9\u306e\u5834\u5408\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u672c\u4f53\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u300c\u958b\u59cb\u884c\u300d\u3068\u300c\u30e1\u30c3\u30bb\u30fc\u30b8\u30d8\u30c3\u30c0\u300d\u306e\u307f\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3001GET\u30e1\u30bd\u30c3\u30c9\u306e\u5834\u5408\u3067\u3082\u3001\u52d5\u7684\u306b\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u5909\u308f\u308b\u691c\u7d22\u753b\u9762\u306e\u3088\u3046\u306aWeb\u30da\u30fc\u30b8\u306e\u5834\u5408\u306f\u3001\u691c\u7d22\u6761\u4ef6\u3092Web\u30b5\u30fc\u30d0\u306b\u9001\u308a\u305f\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002GET\u30e1\u30bd\u30c3\u30c9\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u9001\u308a\u305f\u3044\u5834\u5408\u306f\u3001URL\u306e\u4e2d\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\uff09http:\/\/www.ois-yokohama.co.jp\/works\/?p=49<br \/>\n?\u4ee5\u964d\u306ep=49\u304c\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3059\u3002key=value\u306e\u5f62\u3067\u8868\u73fe\u3057\u307e\u3059\u3002\u3001\u8907\u6570\u3042\u308b\u5834\u5408\u306f&amp;\u3067\u3064\u306a\u3044\u3067\u3001<br \/>\n<strong>key1=value1&amp;key2=value2<\/strong>\u306e\u3088\u3046\u306b\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<h2>POST\u306e\u5834\u5408<\/h2>\n<p>\u307e\u305a\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u306a\u3044HTML\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u9001\u3063\u305f\u5834\u5408\u306f\u3001GET\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u540c\u69d8\u306e\u5185\u5bb9\u304c\u672c\u4f53\u90e8\u306b\u5165\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u3067\u3059\u3002<br \/>\n<strong>key1=value1&amp;key2=value2&amp;key3=value3<\/strong><br \/>\n\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30d8\u30c3\u30c0\u306e\u56de\u3067\u306f\u8aac\u660e\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001GET\u3068\u7570\u306a\u308a\u3001POST\u306e\u5834\u5408\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u306f\u3001Content-Type\u3068Content-Length\u306e2\u3064\u306e\u30d8\u30c3\u30c0\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u4ed8\u304d\u307e\u3059\u3002Content-Type\u306fMIME\u30bf\u30a4\u30d7\u3068\u547c\u3070\u308c\u308b\u9001\u4fe1\u30c7\u30fc\u30bf\u306e\u7a2e\u985e\u304c\u6307\u5b9a\u3055\u308c\u3001Content-Length\u306b\u306f\u9001\u4fe1\u30c7\u30fc\u30bf\u306e\u30d0\u30a4\u30c8\u6570\u304c\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<br \/>\n<strong>Content-Type:application\/x-www-form-urlencoded<\/strong><br \/>\n<strong>Content-Length:423<\/strong><br \/>\n\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u306a\u3044HTML\u30d5\u30a9\u30fc\u30e0\u306e\u5834\u5408\u306f\u3001<strong>x-www-form-urlencoded<\/strong>\u304cContent-Type\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>POST\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u3059\u308b\u5834\u5408\u306f\u3001form\u30bf\u30b0\u306eenctype\u5c5e\u6027\u306bmultipart\/form-data\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<strong>&lt;form action=&#8221;.\/&#8221; method=&#8221;post&#8221; enctype=&#8221;multipart\/form-data&#8221;&gt;<\/strong><br \/>\nenctype=&#8221;multipart\/form-data&#8221;\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30e1\u30c3\u30bb\u30fc\u30b8\u30d8\u30c3\u30c0\u306eContent-Type\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<strong><code role=\"listitem\" class=\"focusRow subFocusRow \">Content-Type:<code role=\"listitem\" class=\"focusRow subFocusRow \">multipart\/form-data; boundary=-----------26841326868719<\/code><\/code><\/strong><\/p>\n<p>MIME\u30bf\u30a4\u30d7\u306fform\u30bf\u30b0\u306eenctype\u5c5e\u6027\u3067\u6307\u5b9a\u3057\u305f\u306e\u3068\u540c\u3058\u3001multipart\/form-data\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u5f8c\u308d\u306b\u3064\u3044\u3066\u3044\u308bboundary\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u672c\u4f53\u306b\u8a2d\u5b9a\u3055\u308c\u308b\u30c7\u30fc\u30bf\u3092\u533a\u5207\u308b\u305f\u3081\u306e\u8a18\u53f7\u3067\u3059\u3002\u5024\u306f\u30e9\u30f3\u30c0\u30e0\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<br \/>\n\u672c\u4f53\u306e\u4e2d\u8eab\u306fboundary\u3067\u6307\u5b9a\u3055\u308c\u305f\u533a\u5207\u308a\u6587\u5b57\u3067\u3001\u9805\u76ee\u3054\u3068\u306b\u533a\u5207\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u4f8b\u306fmyname=ois\u3068\u3044\u3046\u60c5\u5831\u3068\u3001file.txt\u3068\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<strong><code role=\"listitem\" class=\"focusRow subFocusRow \">--<code role=\"listitem\" class=\"focusRow subFocusRow \"><code role=\"listitem\" class=\"focusRow subFocusRow \">-----------<\/code><\/code>26841326868719<\/code><code role=\"listitem\" class=\"focusRow subFocusRow \"><br \/>\n<\/code><code role=\"listitem\" class=\"focusRow subFocusRow \">Content-Disposition: form-data; name=\"myname\"<\/code><code role=\"listitem\" class=\"focusRow subFocusRow \"><\/code><\/strong><br \/>\n<strong><code role=\"listitem\" class=\"focusRow subFocusRow \">ois<br \/>\n<\/code><code role=\"listitem\" class=\"focusRow subFocusRow \">--<code role=\"listitem\" class=\"focusRow subFocusRow \"><code role=\"listitem\" class=\"focusRow subFocusRow \">-----------<\/code><\/code>26841326868719<br \/>\n<\/code><code role=\"listitem\" class=\"focusRow subFocusRow \">Content-Disposition: form-data; name=\"profile\"; filename=\"file.txt\"<br \/>\n<\/code><code role=\"listitem\" class=\"focusRow subFocusRow \">Content-Type: text\/plain <\/code><\/strong><br \/>\n<strong>\uff5e\uff5e\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\uff5e\uff5e<\/strong><br \/>\n<strong> <code role=\"listitem\" class=\"focusRow subFocusRow \">-<code role=\"listitem\" class=\"focusRow subFocusRow \"><code role=\"listitem\" class=\"focusRow subFocusRow \">-----------<\/code><\/code>-26841326868719<\/code><code role=\"listitem\" class=\"focusRow subFocusRow \">--<\/code><\/strong><\/p>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408\u3068\u3057\u306a\u3044\u5834\u5408\u3067\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u672c\u4f53\u306e\u5f62\u5f0f\u304c\u304b\u306a\u308a\u9055\u3044\u307e\u3059\u3002\u3067\u3059\u304c\u3001Apache\u3084nginx\u306a\u3069\u306eWeb\u30b5\u30fc\u30d0\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u96a0\u853d\u3057\u3066\u5dee\u7570\u3092\u5438\u53ce\u3057\u3066\u3044\u308b\u306e\u3067\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u6642\u306f\u3001\u4f8b\u3048\u3070\u3001PHP\u3060\u3068$_POST[&#8216;name&#8217;]\u3001Java\u30b5\u30fc\u30d6\u30ec\u30c3\u30c8\u3060\u3068ServletRequest\u30af\u30e9\u30b9\u306egetParameter(&#8220;name&#8221;)\u306e\u3088\u3046\u306b\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u672c\u4f53\u306e\u5f62\u5f0f\u3092\u610f\u8b58\u305b\u305a\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u7b2c6\u56de\u306f\u4ee5\u4e0a\u3067\u7d42\u4e86\u3067\u3059\u3002<\/p>\n<p>\u6b21\u56de\u304b\u3089HTTP\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306fOIS\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u305f\u3060\u3063\u3057\u30fc\u3067\u3059\u3002 \u524d\u56de\u307e\u3067HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30d8\u30c3\u30c0\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\uff08\u9577\u304b\u3063\u305f\u3067\u3059\u304c\uff09 \u5f15\u304d\u7d9a\u304d\u3001\u4eca\u56de\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u672c\u4f53\u306e\u8aac\u660e\u304b\u3089\u59cb\u3081\u307e\u3059\u3002 \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u672c\u4f53\u306f\u3001\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u3063\u3066 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5756,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"vkexunit_cta_each_option":"","footnotes":""},"categories":[6],"tags":[34,5],"class_list":["post-1012","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineer","tag-http","tag-5"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/1012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/comments?post=1012"}],"version-history":[{"count":2,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/1012\/revisions"}],"predecessor-version":[{"id":6006,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/1012\/revisions\/6006"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media\/5756"}],"wp:attachment":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media?parent=1012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/categories?post=1012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/tags?post=1012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}