To return image/png
, use https://httpraccoons.com/[status_code]
(CDN: https://cdn.httpraccoons.com/[status_code].png
)
To return text/plain
, use https://httpraccoons.com/text/[status_code]
To return application/json
, use https://httpraccoons.com/json/[status_code]
Any [status_code]
can be replaced by random
to return a random status code like https://httpraccoons.com/random
To return the requested HTTP code (200-599) instead of 200 OK, add ?real=1
or ?simulate=1
like https://httpraccoons.com/500?real=1
To set the response time manually, add ?wait=x
or ?sleep=x
where x
is an integer of milliseconds (max 110000) like https://httpraccoons.com/500?wait=5000
Combined, it might look like https://httpraccoons.com/json/420?simulate=true&sleep=6000
JSON.stringify(statuses)