I'm trying to receive a data response from a third party API system to my URL endpoint with PHP. So the third parts is sending a post request to my endpoint(the url that I filled in in their API panel) whenever they have a new data response for me. Basically they are sending only the last response data when from their system they have a new submission. I have added this on my endpoint URL to see if I can see the data response received:
$request_data = file_get_contents('php://input');
var_dump($request_data);
On their panel I can test the endpoint url result and on their panel I have this result when I click on the test request button, which is basically the result of my var_dump:
But on my side the output is like a full string but I don't get nothing on my side at my end point URL.
This is the post_max_size within my phpinfo file so my the $_POST variable shouldn't be empty:
The format of the submitted data that I should expect to receive to my URL endpoint is like below:
{
"data": {
"id": "",
"name": "",
"email": "",
"phone": "",
"description": "",
"street": "",
"housenumber": "",
"postcode": "",
"city": "",
"questions": {
"Type opdracht": "",
"Wat wil je laten opstellen?": ""
},
"questions_unmapped": {
"114": "",
"187": ""
},
"date": "",
"notes": ""
}
}
Is there any way to:
- convert this string in a PHP object
- print/store those data on my side (my endpoint URL)


