Support the ongoing development of Laravel.io →
posted 11 years ago
Forms

Hello im trying to test something and have a POST form with action to php script, and im getting MethodNotAllowedHttpException error on my host. But on local host everything is working perfectly..files are the same in host and local. can anyone explain me why this is happening and how to fix it?

Last updated 2 years ago.
0

sending POST request to route when PUT or GET is expected, could cause it. but in your case, as it is happening only on production, no clue.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

myrez myrez Joined 24 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.