For those of you without the HTTP extension, try:
<?php
$body = @file_get_contents('php://input');
?>
(PECL pecl_http >= 0.10.0)
HttpResponse::getRequestBody — Get request body
Această funcție este pseudonim pentru: http_get_request_body().
For those of you without the HTTP extension, try:
<?php
$body = @file_get_contents('php://input');
?>