A simple and powerful HTTP request debugging tool that captures, displays, logs and echo all incoming HTTP requests. Perfect for testing webhooks, debugging API calls, or inspecting HTTP traffic during development.
• 🔍 Complete Request Capture: Captures full HTTP requests including headers, body, and metadata • 📝 Dual Output: Displays requests in terminal with colored output and saves to file • 📊 Persistent Logging: Saves all requests to a file with timestamps and unique identifiers • ⚡ Lightweight: Minimal dependencies and fast performance
git clone https://github.com/crgimenes/dumpHTTP.git
cd dumpHTTP
go build -o dumpHTTP .go install crg.eti.br/go/dumpHTTP@latest• Go 1.24 or higher
-
Start the HTTP dump server:
./dumpHTTP
-
Send a test request:
curl -X POST http://localhost:8080/test \ -H "Content-Type: application/json" \ -d '{"message": "Hello World"}' -
View the captured request in your terminal and check the
dump.txtfile
./dumpHTTP [options]| Option | Default | Description |
|---|---|---|
-listenAddr |
:8080 |
Address and port to listen on |
-dumpFile |
dump.txt |
File to save request dumps |
Listen on a specific port:
./dumpHTTP -listenAddr :9000Save dumps to a custom file:
./dumpHTTP -dumpFile requests.logCustom configuration:
./dumpHTTP -listenAddr 0.0.0.0:8080 -dumpFile /var/log/http-dumps.txtContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.
Created by Cesar Gimenes