Question

I've recieved the following data which I need to post to server enter image description here

and I cant find out how exactly I need to do it in PHP. I need to send numbers, but I cant see any parameter thier asking me to send it from. any ideas how I could send this data?

Was it helpful?

Solution

AFAIK you need this:

$postdata = file_get_contents("php://input");

Details: http://php.net/manual/en/wrappers.php.php

Or maybe the other way:

RAW POST using cURL in PHP

(I am bit lost in your question.)

The main idea there:

curl_setopt($ch, CURLOPT_POSTFIELDS,     "numbers\nnumbers\n..." ); 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top