A simple HTTP request inspector that captures and displays incoming requests in real-time.
brew install alwedo/tap/webcatchgo install github.com/alwedo/webcatch@latestDownload the latest release from the releases page.
webcatchThis starts two servers:
- Capture server on
:8080- send requests here to capture them - Viewer server on
:8081- view captured requests in your browser
--capture-port Port for capture server (default: 8080)
--viewer-port Port for viewer server (default: 8081)
--version Print version and exitExample with custom ports:
webcatch --capture-port 9000 --viewer-port 9001Send a test request:
curl -X POST http://localhost:8080/test \
-H "Content-Type: application/json" \
-d '{"hello":"world"}'View it at http://localhost:8081
To capture webhooks from external services, expose the capture server with ngrok:
ngrok http 8080Then use the ngrok URL (e.g., https://abc123.ngrok.io) as your webhook endpoint. All requests will be captured and visible at http://localhost:8081.
- Captures method, path, headers, and body
- Live updates via Server-Sent Events
- Clear captured calls with one click
- Graceful shutdown with Ctrl+C
go build -o webcatchgo test ./...webcatch --versionRun from source:
go run .Build locally:
go build -o webcatch
./webcatch