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
For those of you without the HTTP extension, try:
<?php
$body = @file_get_contents('php://input');
?>