Dumpon is a simple HTTP request dump server written in Go. It listens for requests and prints them in details such as request URL, method, headers, parameters, body and file uploads to the console in a nicer format.
- I made this to have a portable dump server with me, usable anywhere at anytime, for debugging requests.
- This is my first project in Go lang so suggestion and pull requests are welcome from experts.
You can download the binary from release page or build on your own from source. Ensure that Go^1.22.6 is installed and properly configured on your system to build from source.
# See available options
./dumpon -h
# Run the server
# Default port `-p 80`
# Max memory `-m 10`
./dumpon
# Simple GET request
curl http://localhost:80
# Simple POST request with body
curl -X POST http://localhost:80 -d "name=dumpon"
# Simple POST request with file upload
curl -X POST http://localhost:80 -F "avatar=@path/to/avatar.png"
See the attached screenshot.
Please see CHANGELOG for more information what has changed recently.
If you discover any security related issues, please email rahulhaque07@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.