'af98db4e-0197-4c05-903e-b862d76eff48', 'scope'=>'identity-check', 'redirect_uri '=>'http://localhost', 'country '=>'gb' ); curl_setopt($ch, CURLOPT_POSTFIELDS, $postRequest); // Include header in result? (0 = yes, 1 = no) curl_setopt($ch, CURLOPT_HEADER, 0); // Should cURL return or print out the data? (true = return, false = print) curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Timeout in seconds curl_setopt($ch, CURLOPT_TIMEOUT, 10); // Download the given URL, and return output $output = curl_exec($ch); // Close the cURL resource, and free system resources curl_close($ch); var_dump($output); ?>