For some reason, $HTTP_RAW_POST_DATA does not seem to be set inside an action controller. You'll have to use the php://input stream wrapper to access raw http post data:
[php]
$raw_post_data = file_get_contents('php://input');
To content | To menu | To search
By Geoffrey on Wednesday 21 November 2007, 12:03 - Coding
For some reason, $HTTP_RAW_POST_DATA does not seem to be set inside an action controller. You'll have to use the php://input stream wrapper to access raw http post data:
[php]
$raw_post_data = file_get_contents('php://input');
{ no comment }