docker-compose build
docker-compose up -dcurl http://localhost:8080/health
{"status": "ok"}Get a delayed response:
curl http://localhost:8080/?lag=10s
# 10s later
okGet 4xx and 5xx errors:
curl -i http://localhost:8080/error/418?lag=1s
HTTP/1.1 418 I'm a teapot
I'm a teapotDownload arbitrary amounts of data:
curl http://localhost:8080/data?s=125MB -o dataView all request headers
curl http://localhost:8080/headers