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

Antwortformate

Feste Antworten in allen gängigen Content-Types, dazu Content Negotiation, vorkomprimierte Bodies, Zeichensätze und absichtlich kaputte Inhalte für Negativtests.

Beispiel-Request

List every available format and special-case endpoint. Vollständige Referenz und Send-Button (auf Englisch).

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