Topic: Connecting to via cURL in PHP
I have been trying to connect to the Remote API using cURL
function Curl($url ){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
$result = curl_exec($ch);
$response = json_decode($result, true);
curl_close($ch);
return $response ;
}
Regardless of what I try I keep getting {"error":4}
Can anyone please help
Implementation Specialist, Middle East, Gurtam
"Computer science is no more about computers than astronomy is about telescopes."