php cURL CURLOPT_VERBOSE not showing payload php cURL CURLOPT_VERBOSE not showing payload curl curl

php cURL CURLOPT_VERBOSE not showing payload


I've recently came across this problem, and only way I manage to see what is going on is by using debug proxy like:

Other solution is using packet inspector like (this option won't let You see HTTPS traffic):

Solution with proxy is easy to setup, just install, and use:

curl_setopt($ch, CURLOPT_PROXY, 'localhost:8080'); // default for burp suitecurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // ignore certs while connecting to https