go-httpbin
HTTP request and response testing service. A Go reimplementation of the classic httpbin with full API compatibility and built-in documentation.
What You Can Do After Deployment
- Open the web UI — visit your domain to see the interactive API documentation
- Test HTTP methods — send GET, POST, PUT, PATCH, DELETE requests and inspect responses
- Test status codes — use
/status/{code} to get any HTTP status code response
- Inspect requests —
/anything echoes back everything about your request
- Test redirects — use
/redirect/{n} to test redirect chains
Key Features
- Full httpbin API compatibility
- Interactive Swagger UI documentation
- Request inspection (headers, body, args, origin IP)
- HTTP method testing (GET, POST, PUT, DELETE, PATCH)
- Status code responses
- Redirect testing
- Cookie handling
- Authentication testing (Basic, Bearer, Digest)
- Response format testing (JSON, HTML, XML, robots.txt)
- Delay and timeout simulation
- Image and binary response testing
License
ISC — GitHub
This template uses go-httpbin, a maintained Go reimplementation with full API compatibility.