Terminal

Debug Go HTTP Traffic

Capture and inspect HTTP/HTTPS requests from Go applications. Go net/http automatically respects proxy environment variables, making setup seamless.

HTTPS Decryption
Request & Response Inspection
Works with Go HTTP Clients
API Mock & Rewrite
Terminal
$hp shell
$go run main.go
# Traffic captured → open HTTPeep to inspect

Features

HTTPS Decryption

Automatically intercept and decrypt HTTPS traffic from your terminal commands. Inspect request and response bodies in plain text.

MITMSSLCertificate

Request & Response Inspection

View full HTTP headers, body content, cookies, and timing information for every request made by your scripts and CLI tools.

HeadersBodyTiming

Works with Go HTTP Clients

Compatible with net/http, resty, req, and fasthttp. Go stdlib respects HTTP_PROXY by default.

net/httprestyfasthttp

API Mock & Rewrite

Mock API responses or rewrite request/response data without changing your source code. Perfect for testing edge cases.

MockMap LocalRewrite

Breakpoint Debugging

Pause requests matching specific rules, edit headers or body on the fly, then continue or abort. Like a debugger for HTTP.

BreakpointEditIntercept

Debug Microservices

Trace HTTP calls between Go microservices. Identify latency issues, error patterns, and unexpected API behavior.

MicroserviceLatencyTracing

Setup Guide

Go

1

Start hp shell

Run hp shell in your terminal. HTTPeep automatically sets HTTP_PROXY and HTTPS_PROXY environment variables for the current session.

$ hp shell
2

Run your Go application

Execute your Go program. Go net/http automatically uses proxy environment variables set by hp shell.

$ go run main.go
3

Inspect captured traffic

Open the HTTPeep desktop app to browse sessions, filter by domain, and inspect request/response details.

4

Set up rules (optional)

Create rules to mock APIs, rewrite responses, set breakpoints, or override DNS for your debugging workflow.

FAQ

Go

Does Go net/http support proxy environment variables?

Yes. Go net/http automatically reads HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables. hp shell sets these for you.

Can I debug gRPC traffic?

HTTPeep captures the underlying HTTP/2 traffic used by gRPC. While gRPC message decoding is not built-in, you can inspect the raw HTTP/2 frames.

Does it work with Go modules and go test?

Yes. HTTP traffic from go test and any Go module is captured as long as hp shell is active in the terminal session.

Start debugging Go HTTP traffic

Free to use. Capture, mock, and debug Go API calls with hp shell.