{"id":226,"date":"2023-01-18T05:43:51","date_gmt":"2023-01-18T05:43:51","guid":{"rendered":"https:\/\/www.devopssupport.in\/blog\/?p=226"},"modified":"2023-03-20T15:12:41","modified_gmt":"2023-03-20T15:12:41","slug":"the-post-method-is-not-supported-for-this-route-supported-methods-get-head","status":"publish","type":"post","link":"https:\/\/www.devopssupport.in\/blog\/the-post-method-is-not-supported-for-this-route-supported-methods-get-head\/","title":{"rendered":"The POST method is not supported for this route. Supported methods: GET, HEAD."},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"427\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-4-1024x427.png\" alt=\"\" class=\"wp-image-227\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-4-1024x427.png 1024w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-4-300x125.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-4-768x320.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-4-850x355.png 850w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-4.png 1045w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you getting this type of error in form its means there is a somthing wrong in route.<\/p>\n\n\n\n<p>When you create any form and set the method to the POST then the route also should be the Route::post <\/p>\n\n\n\n<p>Example:-<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"864\" height=\"233\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-5.png\" alt=\"\" class=\"wp-image-228\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-5.png 864w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-5-300x81.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-5-768x207.png 768w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-5-850x229.png 850w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/figure>\n\n\n\n<p>method is POST then route also will be the POST<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"822\" height=\"242\" src=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-6.png\" alt=\"\" class=\"wp-image-229\" srcset=\"https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-6.png 822w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-6-300x88.png 300w, https:\/\/www.devopssupport.in\/blog\/wp-content\/uploads\/2023\/01\/image-6-768x226.png 768w\" sizes=\"auto, (max-width: 822px) 100vw, 822px\" \/><\/figure>\n\n\n\n<p>now may be your problem has been solved<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you getting this type of error in form its means there is a somthing wrong in route. When you create any form and set the method&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[84,82,83],"class_list":["post-226","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-head","tag-post","tag-route"],"_links":{"self":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/comments?post=226"}],"version-history":[{"count":1,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/226\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/posts\/226\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/media?parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/categories?post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopssupport.in\/blog\/wp-json\/wp\/v2\/tags?post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}