i have a device that send POST data to my server.
so print_r($_POST) is empty, i can see the data only when i run this
$content = file_get_contents('php://input');
var_dump($content); //or i can use print_r($content);
i save those to a file and result are some json and BINARY DATA (CHECK IMAGE in atachment)
if i add code like this json_decode($content,true); i dont see anything
so how can i decode that binary or what can i do to decode the json and also see what data is send in binary?
p.s HTTP request Content-type is: [Content-Type] => application/octet-stream, application/octet-stream
Please bid just if u can do this, if u are starter dont bid, coz this require more knowledge (dont waste my and your time)
8 freelancers are bidding on average $43 for this job
Hello I need your Url where you are sending Post method to Run and hit of server so i need your c panel and dabase user id and password where i can check your json file.
Hi, I'm interested in your project and think I can help you. It's the binary data encoded? What json_last_error() says? Contact me for more details. Best regards, Gustavo