O
O
Oleg2014-05-24 11:57:52
symfony
Oleg, 2014-05-24 11:57:52

Can't get $request->files

For some reason, file upload does not work in the PUT method through Request, but in POST and through file_get_contents('php://input'); everything works perfectly.
What's the catch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rostislav Grigoriev, 2014-05-24
@crazyzubr

Symfony2 REST - reading data from PUT request

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question