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

Format response

Response tetap dalam setiap content type yang umum, ditambah content negotiation, body yang sudah dikompresi, charset, dan payload yang sengaja dirusak untuk pengujian negatif.

Contoh request

List every available format and special-case endpoint. Referensi lengkap dan tombol Send (dalam bahasa Inggris).

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