This page will allow you test your code for abnormal responses from API calls, such as wrong format, slow response, malformed response or response codes (aka error codes) such as HTTP 418.

If you want to receive a predefined response, please log into your account and create a new response ID with the exact response you want when you call for that ID.

Please contact info@apisim.net with any questions, comments and compliments.

Options:
http://apisim.net/apisim.php?rc=123
- Requires int. Sets the HTTP response code to 123, any number between 100 and 699 supported

http://apisim.net/apisim.php?sleep=123
- Requires int. Sleeps for 123 seconds before responding

http://apisim.net/apisim.php?result=json
- Requires format string. Overwrites the accept header and specifies that the reponse should be in json format. Valid formats (case insensitive): HTML, XML, JSON, TXT and NONE. Default format is HTML.

http://apisim.net/apisim.php?id=abcdefg
- Requires string. Retrieves a specific response text that has been previously saved under ID abcdefg. Access your profile to retrieve the right ID or create a new saved response.

These can of course be chained together using standard URL encoding, such as http://apisim.net/apisim.php?rc=123&sleep=123&result=json&id=abcdefg