I can not get inputs from a PUT/PATCH request
I am developing a rest api. I test it with Postman Rest Client. But I have had a headache with PUT and PATCH requests, the sent parameters can not be gotten in the controller with Input::get('param') neither Request::get('param') they always return NULL, I don't understand why. In the store method it works well. PD: I'm not using resourceful controllers (because I thought it could be the problem), I declared it with Route::put()
This is my controller, the store method works well: http://laravel.io/bin/bPb
And here is how I use postman: http://s13.postimg.org/4o0raxufr/postman.jpg
Want to reply to this thread?Login with github.