Run locally:
docker pull jzarris/httpbin
docker run -p 8080:80 jzarris/httpbin
See http://httpbin.org for more information.
You can use the same status code syntax from /status
in the query argument status_code
for the path /anything
Example:
/anything?status_code=200:0.9,500:0.1
When the status code 200 is returned, the normal requests data will be reflected in the response data.