I am working on a system and am currently trying to implement a script that another (external) system may publish for some data so that I can store it.
I have no control over the external system - I can just run it to send data to my system by specifying the script URL in it.
Looking at firebug when a message occurs, I see the published data, something like this: 
or (urldecoded)
content={"sex":"male","person":{"name":["chris"],"mbox":["mailto: name.lastename@gmail.com "]}} &Content-Type=application/json &auth=DDE233H76BGN
My problem is that when I try to get these parameters in my script, $ _POST (and $ _REQUEST) is always empty!
I tried var_dump($_POST) or echo file_get_contents("php://input"); but I do not see the content.
What am I missing here?
I don't know if response / request headers are needed to get any of this, I am showing them here just in case

Edit:
My script now consists of one line of code, for example:
<?php var_dump($_POST); ?>
or
<?php echo file_get_contents("php://input"); ?>
both of them give me absolutely nothing: s
source share