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

API Echo

Inspeksi request (gaya httpbin). Mengembalikan semua yang diterima server, untuk verb apa pun dan subpath apa pun.

Contoh request

Returns the request's headers. Referensi lengkap dan tombol Send (dalam bahasa Inggris).

cURL
curl -X GET "https://api.testingapis.com/api/echo/headers"
Jalankan di Studio
Response · 200 OK
{
  "count": 5,
  "headers": {
    "Accept": "*/*",
    "Connection": "keep-alive",
    "Host": "api.testingapis.com",
    "User-Agent": "python-requests/2.33.1",
    "Accept-Encoding": "gzip, deflate, zstd"
  }
}