lundi 3 octobre 2016

Method not allowed (Laravel 5)

I set up the following request

Route::post('v3/{version}/log', ['uses' => 'MyController@myMethod']);

I use postman to send a post request to this, but I got 405 Method Not Allowed error. Then I try to switch the method to check which one is correct. It's the "Options". I don't declare any "Options" method route in my route file. That's really weird. Please help. Thanks a lot.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire