testinghttpresponsehttp-response-codes

Is there a website that returns 500 (and other) HTTP response codes for testing?


It's occurred to me that it would be useful to have a URL that would always return a 500, for the sake of testing client code that handles getting bad responses. And I can think of other projects that would benefit from URLs that would always return 404s, redirects, etc. Does anyone know of a free website that offers this?


Solution

  • I believe http://httpstat.us/ can do that as well.