Why doesn't Fiddler show curl
traffic? Other traffic gets displayed, just not curl
. How can I get fiddler to intercept curl
traffic?
In Fiddler, you can select the request session in the session list and then use File -> Export -> Selected Sessions -> cURL script .
NET Framework are hardcoded not to send requests for Localhost through any proxies, and as a proxy, Fiddler Classic will not receive such traffic. This behavior was changed for Internet Explorer 9 in the Release Candidate build. IE9 RC allows Fiddler Classic to proxy traffic sent to localhost or 127.0.
To instead allow Fiddler Classic to automatically enable and disable the proxy, use Proxy Auto-configuration with a URL pointing to Documents/Fiddler2/Scripts/BrowserPAC. js. For example, in Firefox, click Tools > Options > Advanced > Network > Settings, and input the URL of the BrowserPAC.
Fiddler will not intercept curl traffic by default. You'll need to specify the -x
proxy option. If curl displays an SSL error message, additionally use the -k
option to disable SSL validation.
curl -x 127.0.0.1:8888 -k www.example.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With