This is a reimplementation of httpbin
for two purposes:
- To demonstrate (and test) the abilities of an http library for rust
- To make a static binary (1.6MB) providing all the httpbin functionality
(not affiliated to the original httpbin)
By default listens on 0.0.0.0:8080, but you can pass a port number on the command-line. Many endpoints of the original httpbin are currently unimplemented.
- HTTP Methods
- Auth
- Status codes
- Request inspection
- Response inspection
- Response formats
- Dynamic data
- Cookies
- Images
- Redirects
- Anything
Originally written by Paul Colomiets. Based on httpbin
by Kenneth Reitz.
Licensed under the Apache License, Version 2.0
This project also contains code from the original httpbin
which is ISC licensed