| Crates.io | hes |
| lib.rs | hes |
| version | 1.0.0 |
| created_at | 2026-01-18 21:06:04.437358+00 |
| updated_at | 2026-01-18 21:06:04.437358+00 |
| description | Http Echo Server - a simple HTTP server that echoes back requests. |
| homepage | |
| repository | https://github.com/darkcodi/hes |
| max_upload_size | |
| id | 2053107 |
| size | 44,326 |
Lightning-fast HTTP echo server in Rust that mirrors your requests back as JSON
✨ Perfect for testing webhooks, debugging APIs, or inspecting HTTP traffic
cargo install hes
Or run directly:
cargo run
Server starts on 0.0.0.0:8080 by default. Hit it with anything:
curl -X POST http://localhost:8080/hello?name=world \
-H "Content-Type: application/json" \
-d '{"msg": "hey"}'
{
"method": "POST",
"url": {
"scheme": "http",
"host": "localhost",
"port": 8080,
"path": "/hello",
"query": "name=world",
"full": "http://localhost:8080/hello?name=world"
},
"headers": {
"content-type": "application/json",
"user-agent": "curl/8.0.0"
},
"body": "{\"msg\": \"hey\"}",
"http_version": "HTTP/1.1",
"timestamp": "1737182400",
"remote_address": "127.0.0.1:54321"
}
Change host/port:
hes --host 127.0.0.1 --port 3000
Or use env vars:
HOST=0.0.0.0 PORT=9090 hes
Built with ❤️ using Hyper + Tokio