charles-proxy
Simple HTTP server for logging requests only [closed]
For some super simple alternatives, there’s netcat: $ nc -l -p 8080 And python’s inbuilt: $ python -m SimpleHTTPServer 8080 (In recent versions of python, 3?) this is now: $ python -m http.server 8080 Netcat won’t serve responses so you may not get too far, SimpleHTTPServer won’t show POST requests (at least). But occasionally I … Read more
How to inspect websocket traffic with charlesproxy for iOS simulator/devices
I finally found the answer. Charles 3.11.2 works perfectly with WebSocket. I use socketIO, so I’ve already seen http requests sent during the negotiation phase, but I missed websockets traffic. In the beginning, socketIO try to use polling then switches to use websockets. The websocket traffic is visible when you go to the request with … Read more
How do I configure Charles Proxy and Android so that I can view HTTPS sessions [closed]
for the Android7 refer to: How to get charles proxy work with Android 7 nougat? for the Android version below Android7 From your computer, run Charles: Open Proxy Settings: Proxy -> Proxy Settings, Proxies Tab, check “Enable transparent HTTP proxying”, and remember “Port” in heart. SSL Proxy Settings:Proxy -> SSL Proxy Settings, SSL Proxying tab, … Read more
Charles Proxy SSL Certificate not working
There is no clear information on whether this problem is with iOS or Mac. Mauricio has explained how to solve this problem on Mac. Let me take the liberty of how to fix this problem in iOS. So basically there is a SSL trust issue that’s happening on device that’s why the request is not … Read more
Charles proxy not working with Chrome
For anyone else using VPN: Charles must be turned on before VPN. So quitting VPN after turning on Charles won’t work either. Also in my case VPN can’t be turned on at all.
Charles – How to filter the recording using the “client address” field?
Under Proxy > Recording Settings You can enter specific locations to exclusively record requests to/from using include, or exclude to prevent locations from recording. It’s also possible to blacklist requests as needed by control-clicking in the structure section and selecting ignore. If you want to exclude requests to/from the computer that Charles is running on … Read more
Charles Proxy SSL: “SSL Proxying not enabled for this host” [closed]
Charles Proxy does not proxy any domain unless specified in the Proxy Settings. It’s on the Charles Proxy Documentation: You must specifically identify the host names you want to enable SSL Proxying on. The list is in the Proxy Settings, SSL tab. You can also right-click on a host name in the structure view and … Read more
How to change response body with Charles?
The Map Local tool is probably what you’re looking for. Access via menu Tools | Map Local…. Note, you may need a corresponding rewrite rule (Tools | Rewrite…) to ensure the mime type of your response served from disk and the type your application is expecting. But recent versions of Charles may set the type … Read more