simple express server that can be used to test your code against http status codes
@ github: https://github.com/eXpire163/response-coder
@ docker.hub: https://hub.docker.com/r/expire163/response-coder
Server runs on port 8181 if you need a different one, change it in the index.js and Dockerfile
/statuscode/:code to get the status code you want
/statuscode/200for a nice 200
/timeout/:duration for a response after defined milliseconds
/timeout/3000will answer with a 200 after 3 seconds
Content type
Image
Digest
Size
366.9 MB
Last updated
over 4 years ago
docker pull expire163/response-coder