This is a simple Go application demonstrating how Proxyman can capture HTTP requests and responses from Go applications using different HTTP client libraries.
- ✅ No proxy configuration is required in the code—Proxyman captures the traffic at the system level.
- 🎉 Capture HTTP/HTTPS traffic from the Go application with Proxyman just a few clicks.
The application showcases six different Go HTTP client libraries:
- Standard
net/http
- Go's built-in HTTP client fasthttp
- High-performance HTTP clientresty
- Simple HTTP and REST clientgorequest
- Simplified HTTP client with chainable APIreq
- Simple, modern HTTP client with debugging supportgrequests
- HTTP client with Python's Requests-like API
- Install and launch Proxyman
- Install Proxyman Certificate from the Certificate Menu -> Install for Mac -> Follow the instructions
- Go to Setup Menu -> Automatic Setup -> Select your Terminal -> Start
- On the new Terminal -> Cd to your application directory -> Run the application
go mod tidy
go run main.go
- Proxyman will capture the HTTP/HTTPS traffic from your application
- Done