0

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?

Lajos Veres
  • 13,595
  • 7
  • 43
  • 56
D_R
  • 4,894
  • 4
  • 45
  • 62

1 Answers1

1

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..." ); 
Community
  • 1
  • 1
Lajos Veres
  • 13,595
  • 7
  • 43
  • 56