Welcome to API Response Tester

This page will allow you test your code for abnormal responses from API calls, such as wrong format, slow response, or response codes (aka error codes) such as HTTP 418 :-D
Please contact s@supergeek.us with any questions, comments and complients.
I might add a feature that allows you to provide the exact text you want returned. With proper encouragment it may happen sooner than later.

Options:
http://www.nettools.us/APIResponse.php?rc=234
- Sets the HTTP response code to 234, any number between 200 and 999 supported

http://www.nettools.us/APIResponse.php?sleep=123
- Sleeps for 123 seconds before responding

http://www.nettools.us/APIResponse.php?result=html
- Specifies that the reponse should be in HTML. Valid formats (case insensitive): HTML, XML, JSON and NONE. Default format is HTML

These can of course be chained together such as http://www.nettools.us/APIResponse.php?sleep=234&rc=234