For those of you without the HTTP extension, try:
<?php
$body = @file_get_contents('php://input');
?>
(PECL pecl_http >= 0.10.0)
HttpResponse::getRequestBody — Consultar el cuerpo de la petición
Esta función es un alias de: http_get_request_body().
For those of you without the HTTP extension, try:
<?php
$body = @file_get_contents('php://input');
?>