Configure a PHP/cURL Application to Use Fiddler

To configure a PHP/cURL application to send web traffic to Fiddler Classic, add this line of code before the application sends requests, where $ch is the handle returned by curl_init():

    curl_setopt($ch, CURLOPT_PROXY, '');

Or, enter this command from the command line:

    curl --proxy
In this article