Problems with multipart/form-data
forced me to parse POST request's parameters manually as I already doing for PUT requests. For that purpose I used this code:
$rawData = file_get_contents('php://input');
But I figured that php://input
is always empty for POSTs, at least, for php-fpm
SAPI.
Here is some pics from debugger. POST request:
PUT with same params:
Is there a way to get raw POST request body? Thanks in advance.