Answer the question
In order to leave comments, you need to log in
How to accept a PUT/DELETE request with php, etc.?
All frameworks provide a ready-made request object.
How does it work there? Studying sources does not help.
There is an assumption that something like this
file_get_contents(' php://input ');
then we parse the resulting line.
Save, help :)
Yes, and thank you.
Answer the question
In order to leave comments, you need to log in
Well, how does studying sorts not help?
You can start with Symfony\Component\HttpFoundation\Request and see the call chains.
For such purposes, an additional parameter is added indicating the type of the method...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question