Capturing CURL Traffic with Fiddler Everywhere
Environment
Product | Fiddler Everywhere |
Product Version | 1.0.0 and above |
3rd-party tool | curl |
Supported OS | macOS, Linux, Windows |
Description
Some 3rd-party tools like curl doesn't use the OS system proxy by default. To intercept traffic generated from similar applications, we will need to explicitly set the Fiddler Everywhere proxy.
CURL
When executing a request through curl (that needs to be captured by Fiddler), use the optional parameter -x to pass the Fiddler Everywhere proxy. The ssl-no-revoke option tells curl to disable certificate revocation checks. The -v parameter is to show verbose logs after the command is executed.
curl --url https://www.example.com/ -x 127.0.0.1:8866 --ssl-no-revoke -v
Alternatively, you could set the proxy settings for your terminal app (which runs the curl app) to use the Fiddler Everywhere proxy.