I have an Ers 1000 with cloud plan from Sony and i am trying to setup ENDPOINT on the sony site in order to use some features. I am using a PHP server than run fine, but no way to get the endpoint validation on site website. I used a php page to get the "challenge" value, and i send it back to body using php "echo", this works fine with postman but no way on sony site. I noticed the way they post the challenge is harder that common post so i used
$source1 = json_decode(file_get_contents("php://input"));
And I finished with a page showing the body like a json :
$post = json_decode(file_get_contents('php://input'), true);
echo($post);
this give {"challenge":"1324111"}
on sony I enter this url : https://xxxserver.com/aibo/
where index.php have the code
any idea on how to implement this API endpoint? as sony error don't give details on what is wrong. thanks!