@mganjkhani it will help if you share your code?
405 http error on post request
I have a post request with ajax, but in response I get 405 error: get method not allowded, only post supported! My route has only one post for this request. Also I check all middlewares and routing files but the error starts from client or index.php and I can't debug it. Exactly Laravel changes my request from post to get. In other hand when I change some of my posted parameters, the request will be OK and I get 200. When I undo change the response remains on 200! I use Laravel 5.8. Any idea?
Thanks to @neilstee. We checked the code and found that the $_REQUEST, $_GET and $_POST are empty in the index.php in Laravel. It was because sending some unicode characters to server and that bug was from PHP and nginx. Laravel receives no response and we must check other layers of code.
Please or to participate in this conversation.