{"id":1246,"date":"2016-03-23T21:58:33","date_gmt":"2016-03-23T12:58:33","guid":{"rendered":"http:\/\/blog.fourthgate.jp\/?p=1246"},"modified":"2016-03-23T21:58:33","modified_gmt":"2016-03-23T12:58:33","slug":"put%ef%bc%9f%e3%80%81post%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/blog.fourthgate.jp\/?p=1246","title":{"rendered":"PUT\uff1f\u3001POST\uff1f"},"content":{"rendered":"<p>CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001<br \/>\n$this->request->is(&#8216;post&#8217;);<br \/>\n\u3067\u5224\u5b9a\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u2026<\/p>\n<p>\u904e\u53bb\u8a18\u4e8b\u306e\u7de8\u96c6\u3067\u306f\u3001<br \/>\n$this->request->is([&#8216;post&#8217;,&#8217;put&#8217;]);<br \/>\n\u3068\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>id\u304c\u3042\u308b\u3068\u3001$this->request->is(&#8216;post&#8217;)\u306fTRUE\u306b\u306a\u3089\u305a\u3001$this->request->is(&#8216;put&#8217;)\u304cTRUE\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u4eca\u66f4\u3067\u3059\u304c\u3001\u5c0f\u4e00\u6642\u9593\u306f\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this->request->is(&#8216;post&#8217;); \u3067\u5224\u5b9a\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u2026 \u904e\u53bb\u8a18\u4e8b\u306e\u7de8\u96c6\u3067\u306f\u3001 $this->request->is([ &hellip; <a href=\"https:\/\/blog.fourthgate.jp\/?p=1246\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1246","post","type-post","status-publish","format-standard","hentry","category-6"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this-&gt;request-&gt;is(&#039;post&#039;);\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"t.akiyama\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.fourthgate.jp\/?p=1246\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u58c1\u306b\u5411\u304b\u3063\u3066.... -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PUT\uff1f\u3001POST\uff1f - \u58c1\u306b\u5411\u304b\u3063\u3066....\" \/>\n\t\t<meta property=\"og:description\" content=\"CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this-&gt;request-&gt;is(&#039;post&#039;);\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.fourthgate.jp\/?p=1246\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-03-23T12:58:33+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-03-23T12:58:33+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PUT\uff1f\u3001POST\uff1f - \u58c1\u306b\u5411\u304b\u3063\u3066....\" \/>\n\t\t<meta name=\"twitter:description\" content=\"CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this-&gt;request-&gt;is(&#039;post&#039;);\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#blogposting\",\"name\":\"PUT\\uff1f\\u3001POST\\uff1f - \\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"headline\":\"PUT\\uff1f\\u3001POST\\uff1f\",\"author\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#organization\"},\"datePublished\":\"2016-03-23T21:58:33+09:00\",\"dateModified\":\"2016-03-23T21:58:33+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#webpage\"},\"articleSection\":\"\\u4ed5\\u4e8b\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.fourthgate.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=6#listItem\",\"name\":\"\\u4ed5\\u4e8b\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=6#listItem\",\"position\":2,\"name\":\"\\u4ed5\\u4e8b\",\"item\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#listItem\",\"name\":\"PUT\\uff1f\\u3001POST\\uff1f\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#listItem\",\"position\":3,\"name\":\"PUT\\uff1f\\u3001POST\\uff1f\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=6#listItem\",\"name\":\"\\u4ed5\\u4e8b\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#organization\",\"name\":\"\\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1\",\"name\":\"t.akiyama\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d726b47f97b556c30875ce264422fbf9e624207333b4fbdeb3f0dda408f56261?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"t.akiyama\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#webpage\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246\",\"name\":\"PUT\\uff1f\\u3001POST\\uff1f - \\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"description\":\"CakePHP\\u3067\\u30d5\\u30a9\\u30fc\\u30e0\\u304cpost\\u3055\\u308c\\u305f\\u304b\\u3069\\u3046\\u304b\\u306f\\u3001 $this->request->is('post');\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1246#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\"},\"datePublished\":\"2016-03-23T21:58:33+09:00\",\"dateModified\":\"2016-03-23T21:58:33+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#website\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/\",\"name\":\"\\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PUT\uff1f\u3001POST\uff1f - \u58c1\u306b\u5411\u304b\u3063\u3066....","description":"CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this->request->is('post');","canonical_url":"https:\/\/blog.fourthgate.jp\/?p=1246","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/blog.fourthgate.jp\/?p=1246#blogposting","name":"PUT\uff1f\u3001POST\uff1f - \u58c1\u306b\u5411\u304b\u3063\u3066....","headline":"PUT\uff1f\u3001POST\uff1f","author":{"@id":"https:\/\/blog.fourthgate.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/blog.fourthgate.jp\/#organization"},"datePublished":"2016-03-23T21:58:33+09:00","dateModified":"2016-03-23T21:58:33+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/blog.fourthgate.jp\/?p=1246#webpage"},"isPartOf":{"@id":"https:\/\/blog.fourthgate.jp\/?p=1246#webpage"},"articleSection":"\u4ed5\u4e8b"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.fourthgate.jp\/?p=1246#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp#listItem","position":1,"name":"Home","item":"https:\/\/blog.fourthgate.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?cat=6#listItem","name":"\u4ed5\u4e8b"}},{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?cat=6#listItem","position":2,"name":"\u4ed5\u4e8b","item":"https:\/\/blog.fourthgate.jp\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?p=1246#listItem","name":"PUT\uff1f\u3001POST\uff1f"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?p=1246#listItem","position":3,"name":"PUT\uff1f\u3001POST\uff1f","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?cat=6#listItem","name":"\u4ed5\u4e8b"}}]},{"@type":"Organization","@id":"https:\/\/blog.fourthgate.jp\/#organization","name":"\u58c1\u306b\u5411\u304b\u3063\u3066....","url":"https:\/\/blog.fourthgate.jp\/"},{"@type":"Person","@id":"https:\/\/blog.fourthgate.jp\/?author=1#author","url":"https:\/\/blog.fourthgate.jp\/?author=1","name":"t.akiyama","image":{"@type":"ImageObject","@id":"https:\/\/blog.fourthgate.jp\/?p=1246#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d726b47f97b556c30875ce264422fbf9e624207333b4fbdeb3f0dda408f56261?s=96&d=mm&r=g","width":96,"height":96,"caption":"t.akiyama"}},{"@type":"WebPage","@id":"https:\/\/blog.fourthgate.jp\/?p=1246#webpage","url":"https:\/\/blog.fourthgate.jp\/?p=1246","name":"PUT\uff1f\u3001POST\uff1f - \u58c1\u306b\u5411\u304b\u3063\u3066....","description":"CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this->request->is('post');","inLanguage":"ja","isPartOf":{"@id":"https:\/\/blog.fourthgate.jp\/#website"},"breadcrumb":{"@id":"https:\/\/blog.fourthgate.jp\/?p=1246#breadcrumblist"},"author":{"@id":"https:\/\/blog.fourthgate.jp\/?author=1#author"},"creator":{"@id":"https:\/\/blog.fourthgate.jp\/?author=1#author"},"datePublished":"2016-03-23T21:58:33+09:00","dateModified":"2016-03-23T21:58:33+09:00"},{"@type":"WebSite","@id":"https:\/\/blog.fourthgate.jp\/#website","url":"https:\/\/blog.fourthgate.jp\/","name":"\u58c1\u306b\u5411\u304b\u3063\u3066....","inLanguage":"ja","publisher":{"@id":"https:\/\/blog.fourthgate.jp\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u58c1\u306b\u5411\u304b\u3063\u3066.... -","og:type":"article","og:title":"PUT\uff1f\u3001POST\uff1f - \u58c1\u306b\u5411\u304b\u3063\u3066....","og:description":"CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this-&gt;request-&gt;is('post');","og:url":"https:\/\/blog.fourthgate.jp\/?p=1246","article:published_time":"2016-03-23T12:58:33+00:00","article:modified_time":"2016-03-23T12:58:33+00:00","twitter:card":"summary_large_image","twitter:title":"PUT\uff1f\u3001POST\uff1f - \u58c1\u306b\u5411\u304b\u3063\u3066....","twitter:description":"CakePHP\u3067\u30d5\u30a9\u30fc\u30e0\u304cpost\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u3001 $this-&gt;request-&gt;is('post');"},"aioseo_meta_data":{"post_id":"1246","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2026-01-27 14:58:31","updated":"2026-01-27 14:58:31","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.fourthgate.jp\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.fourthgate.jp\/?cat=6\" title=\"\u4ed5\u4e8b\">\u4ed5\u4e8b<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPUT\uff1f\u3001POST\uff1f\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.fourthgate.jp"},{"label":"\u4ed5\u4e8b","link":"https:\/\/blog.fourthgate.jp\/?cat=6"},{"label":"PUT\uff1f\u3001POST\uff1f","link":"https:\/\/blog.fourthgate.jp\/?p=1246"}],"_links":{"self":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts\/1246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1246"}],"version-history":[{"count":1,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts\/1246\/revisions"}],"predecessor-version":[{"id":1247,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts\/1246\/revisions\/1247"}],"wp:attachment":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}