D
D
Denis Denis2015-10-12 16:15:11
PHP
Denis Denis, 2015-10-12 16:15:11

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

2 answer(s)
A
Alexey Skobkin, 2015-10-12
@skobkin

Well, how does studying sorts not help?
You can start with Symfony\Component\HttpFoundation\Request and see the call chains.

M
Mokhirjon Naimov, 2015-10-12
@zvermafia

For such purposes, an additional parameter is added indicating the type of the method...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question