This API simulates empty or ambiguous responses for testing and debugging.
Method | Path | Description |
---|---|---|
GET | /nothing | 204 No Content |
GET | /timeout | Simulates a 30s delay, then 204 |
GET | /empty-json | 200 OK with empty JSON: {} |
GET | /null | 200 OK with "null" as raw body |
POST | /echo | Accepts JSON, returns 204 No Content |
GET | /empty-array | 200 OK with empty array: [] |
GET | /blank-string | 200 OK with "" (empty string) |
GET | /undefined | 200 OK with no body or content-type |
GET | /content-length-lie | Content-Length header with no body |
GET | /html-204 | 204 No Content with text/html Content-Type |
GET | /random | Returns one of the above at random |