put curl debug on php code example Example: php curl verbose curl_setopt($curlhandle, CURLOPT_VERBOSE, true);