To get the Raw Post Data:
<?php $postdata = file_get_contents("php://input"); ?>
Please see the notes here:
http://us.php.net/manual/en/wrappers.php.php
(PHP 4, PHP 5)
$HTTP_RAW_POST_DATA — Raw POST data
This feature has been DEPRECATED as of PHP 5.6.0. Relying on this feature is highly discouraged.
$HTTP_RAW_POST_DATA contains the raw POST data. See always_populate_raw_post_data.
In general, php://input should be used instead of $HTTP_RAW_POST_DATA.
To get the Raw Post Data:
<?php $postdata = file_get_contents("php://input"); ?>
Please see the notes here:
http://us.php.net/manual/en/wrappers.php.php