Show HN: Statuscoder, easily get any HTTP status code for testing (statuscoder.com)
I recently wanted to test how a part of a web app responded to a 502 HTTP status code from a remote site from which it was pulling data. When I came to test it, the remote site was working fine, but I still wanted the 502. So I created statuscoder, just append your desired status code to the URL and it'll respond with that code.
http://statuscoder.com
It's my first single-use project and I like its simplicity - it does one job and (hopefully) does it well. Is there anything else that you'd want to see it do?
13 comments
[ 2.6 ms ] story [ 36.8 ms ] threadInstructions for the site owner are here: http://www.alphassl.com/support/install-root-certificate.htm...
I'm not adding an exception to view it, and non-SSL redirects to SSL.
Just thought I'd help out!
Test with `curl' is where I noticed it broken -- seems to work in Chrome, possibly because they cache intermediate certificates or something?
~% curl 'https://statuscoder.com/ curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Thanks you made me smile. :) Can I ask you what your motivation for this project is?