Unable to find what kind of CURL Post Request

232 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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..." );