The Wayback Machine - https://web.archive.org/web/20201215173416/https://github.com/lloydjatkinson/unstable-rest-api
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

unstable-rest-api

Intentionally unstable REST API (Azure Function)


This API returns fake data (Lorem Ipsum) but with a twist. It is unstable in order to aid in the design/testing of API error handling code.

The API currently returns these HTTP status codes:

HTTP Status Code Body Probability
200 OK JSON containing lorem ipsum text 60%
202 Accepted NA 20%
400 Bad Request NA 15%
500 Internal Server Error NA 5%

There is a 50/50 chance the API will either respond right away or will wait before responding.

About

Azure Function based REST API that returns fake data and sometimes fails. Designed for testing API error handling code.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.