Kode status HTTP

Mengembalikan kode status HTTP apa pun sesuai permintaan, dengan header yang biasanya menyertai status itu.

Gratis: endpoint ini tidak butuh akun.

Contoh request

Lists every known HTTP status code with its reason phrase and category. Referensi lengkap dan tombol Send (dalam bahasa Inggris).

cURL
curl -X GET "https://api.testingapis.com/api/status/list"
Response · 200 OK
[
  {
    "code": 100,
    "statusText": "Continue",
    "category": "informational",
    "supported": false,
    "url": null
  },
  {
    "code": 101,
    "statusText": "Switching Protocols",
    "category": "informational",
    "supported": false,
    "url": null
… (3 more lines)