/test/exception/{exception_name}
The following methods are supported on this resource:
Mount Points
The following URLs are examples of where this resource is mounted :
| XML: | http://api.hi5.com |
| *JSON: | http://api.hi5.com |
| *JSON endpoints are mounted read-only. | |
read
Test Exceptions
This routine throws an exception of the given type. Useful for client writers who want to see how their code reacts to a given exception
Possible HTTP Parameters
| name | description |
|---|---|
| exception_name | The name of the exception to throw |
Output Payload
An empty Test Response if not exception is specified
Errors
| code | description |
|---|---|
| 503 | Thrown when an attempt is made to do something that violates internal API constraints. |
| 403 | Thrown when an attempt is made to do something without the correct permissions. |
| 404 | Thrown when attempting to access a missing resource |
| 501 | Thrown when an attempt is made to do something without the correct permissions. |
| 401 | Thrown by auth/basic to prompt for a username/password from the browser. |