68

Why doesn't Fiddler show curl traffic? Other traffic gets displayed, just not curl. How can I get fiddler to intercept curl traffic?

BSalita
  • 8,420
  • 10
  • 51
  • 68

2 Answers2

97

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
BSalita
  • 8,420
  • 10
  • 51
  • 68
1

In Telerik Fiddler Classic, use

curl --url example.com -x 127.0.0.1.8888 --ssl-no-revoke
BillF
  • 1,034
  • 3
  • 13
  • 28