I\'m trying to POST some JSON to a web service with cURL, using the following code:
$ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_s
I believe it should be HTTPHEADER, not HTTPHEADERS.
HTTPHEADER
HTTPHEADERS
http://php.net/manual/en/function.curl-setopt.php