G
G
GaserV2017-05-06 17:12:01
Ember.js
GaserV, 2017-05-06 17:12:01

Why can't Laravel see $request data?

Hi all! Surely someone has already encountered the problem of sending put\patch requests. In my case, PUT is sent from EmberJS. I have created a resource controller. GET request fulfills the norms, but PUT laravel does not see such a feeling. How can the problem be solved? I suppose that you need to twist something on the side of Amber

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2017-05-06
@D3lphi

How do you tell Laravel that this is a PUT request? Are you sending a _method parameter with a PUT value in the request?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question