Manual Setup
Capture HTTPS Traffic from Ruby, Python or NodeJS with Proxyman
1. Problems
Proxyman could not capture HTTP/HTTPS traffic from the following setup:
NodeJS: Axios, got, superagent, fetch, and node-fetch
Python: http, https, aiohttp, requests
Ruby: http, net/http, net/htps, faraday, httparty and fastlane
cURL
It's a known issue since NodeJS, Python, Ruby, and cURL which are executed from the Terminal app, don't respect the system HTTP Proxy. Thus, there is no traffic on Proxyman.
You have to read through the Technical Documentation of each library and manually config:
The HTTP Proxy
Trust a self-signed certificate
=> Time-consuming and error-prone ❌
2. Solution: Manual Setup
Benefit:
✅ Run on your favorite Terminal app: iTerm2 with Bash, Zsh, and Fish Shell
Capture HTTP(s) traffic from NodeJS, Python, Ruby, Terminal or Web Browser, etc
Safe. Work on your current session, not affect your OS
How to use:
Open Proxyman -> Setup Menu -> Manual Setup
Open your favorite Terminal app, such as iTerm2
Copy & Paste the script to your Terminal -> Run it
Done ✅
You can start your Backend Server or run a script => Proxyman automatically captures all HTTP/HTTPS traffic out of the box
Support Libraries:
Proxyman (with Manual Setup) can work out of the box with the following network libraries.
NodeJS: axios, fetch (v18+), node-fetch, got, https, and superagent
cURL without --proxy flag
3. Advanced: How does it work?
See the Automatic Setup: How does it work?
4. Troubleshooting
See the Troubleshooting page
Last updated