skydiver / october-plugin-forms

Create easy (and almost magic) AJAX forms
https://octobercms.com/plugin/martin-forms
MIT License
60 stars 41 forks source link

Error 405 caused by field validation on live server #220

Closed sdlb closed 2 years ago

sdlb commented 4 years ago

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?