Mock JSON endpoint

A live endpoint that answers with a small JSON body and any of 14 HTTP status codes, from 200 to 504. The default for REST APIs. Parse it with response.json() and check the ok field. No signup, CORS enabled, nothing logged.

Try the 200 version

curl -i https://demo-json-200.supercrontab.com/

Sample body (application/json)

{"ok":true,"id":42,"items":["alpha","beta","gamma"]}