Frequently Asked Questions
How do I use HttpSend?
Update your API config to point to https://www.httpsend.com/500 to get a 500 Internal Server Error returned to your app.
Of course you can return other errors code such as https://www.httpsend.com/429 to get a 429 Too Many Request returned to your app, simulating an overloaded API.
You can also swap out 3rd party APIs that your code calls. e.g. from your own API to Google, again just update your config.
I've hardcoded all my urls
I need my API to return the correct details up until a certain point
You could set a breakpoint in your code and change the config at that point in time
Do you have a list of all HTTP status codes?
Here are some of the most common ones:
2xx success
3xx redirection
4xx client errors
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 409 Conflict
- 422 Unprocessable Content
- 429 Too Many Requests
5xx server errors
- 500 Internal Server Error
- 501 Not Implemented
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout
Wikipedias has the full list of Http Status Codes
What stack is this written in?
App uses asp.net 8, hosted in Azure.