Issue
When using the PHP curl functions, is there anyway to see the exact raw headers that curl is sending to the server?
id='dv3'>
Solution
You can use curl_getinfo:
Before the call
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
After
$headers = curl_getinfo($ch, CURLINFO_HEADER_OUT);
Answered By - Greg Answer Checked By - Candace Johnson (WPSolving Volunteer)