Hi Martin,
I'm having an error "405 Method not allowed" each time the Laravel validation throws an exception on live testing server (everything works fine on localhost).
The form is sent with no error when correctly filled.
The problem is possibly caused by my live host server (despite the fact they say it doesn't).
To be more precise, the error "405 Method not allowed" is thrown by the Nginx server. It's a common problem with Nginx that blocks static files on a POST request.
Obviously not all forms are affected.
Can you help?
Hi Martin, I'm having an error "405 Method not allowed" each time the Laravel validation throws an exception on live testing server (everything works fine on localhost). The form is sent with no error when correctly filled. The problem is possibly caused by my live host server (despite the fact they say it doesn't). To be more precise, the error "405 Method not allowed" is thrown by the Nginx server. It's a common problem with Nginx that blocks static files on a POST request. Obviously not all forms are affected. Can you help?