httpdump is a httpbin clone written in Go.
Abandoned see https://github.com/ahmetalpbalkan/go-httpbin for a more complete implementation.
- /ip returns an origin IP
- /user-agent returns a user-agent string
- /headers returns a header map
- /get returns GET request information
- /gzip returns gzip-encoded data
- /status/:code returns a given HTTP status code
- /stream/:n streams n-100 JSON objects
- /bytes/:n returns n random bytes of binary data
- /redirect-to?url=foo redirect to URL foo
- /basic-auth/:user/:passwd challenges Basic Auth
- /hidden-basic-auth/:user/:passwd 404'd Basic Auth
- /delay/:n delay response for n-10 seconds