New in 2.4: Test runs you can trust See what's new →

Response formats

Hardcoded responses in every common content type, plus content negotiation, pre-compressed bodies, charsets and deliberately broken payloads for negative testing.

Example request

List every available format and special-case endpoint. Full reference and a Send button.

cURL
curl -X GET "https://api.testingapis.com/api/formats"
Run in Studio
Response · 200 OK
{
  "formats": ["json", "xml", "… 15 more items"],
  "special": ["jsonp?callback=fn", "negotiate", "… 10 more items"]
}