Is there a way I can see what exactly is sent by curl in the post? With the body and headers and all.
Thanks.
print_r($_REQUEST);
will give you everything you should want, but if not, try out
http://www.php.net/manual/en/reserved.variables.httprawpostdata.php
Got it.
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
.
.
var_dump(curl_getinfo($ch,CURLINFO_HEADER_OUT));
ahh cool. :)
I was thinking from the server side. didnt even think from the curl request
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.