I use Charles web debugging proxy
I have a rewrite rule that's working fine with chrome but that isn't applied using curl.
curl https://example.com
Am I doing something wrong?
CodePudding user response:
Here are 2 options:
- Setting up your curl configuration file (~/.curlrc)
proxy = 127.0.0.1:8888
- Passing the proxy option to your curl command
curl https://example.com --proxy 127.0.0.1:8888