Skip to content

ProxymanApp/golang-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Client Go Example with Proxyman

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.

Libraries Used

The application showcases six different Go HTTP client libraries:

  1. Standard net/http - Go's built-in HTTP client
  2. fasthttp - High-performance HTTP client
  3. resty - Simple HTTP and REST client
  4. gorequest - Simplified HTTP client with chainable API
  5. req - Simple, modern HTTP client with debugging support
  6. grequests - HTTP client with Python's Requests-like API

How to capture HTTP/HTTPS traffic with Proxyman

  1. Install and launch Proxyman
  2. Install Proxyman Certificate from the Certificate Menu -> Install for Mac -> Follow the instructions
  3. Go to Setup Menu -> Automatic Setup -> Select your Terminal -> Start

Proxyman Automatic Setup

  1. On the new Terminal -> Cd to your application directory -> Run the application
go mod tidy
go run main.go
  1. Proxyman will capture the HTTP/HTTPS traffic from your application

Proxyman Capture HTTP/HTTPS from Go application

  1. Done

About

Demo how to Proxyman captures HTTPS from Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages