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

HTTP status codes

Returns any HTTP status code on demand, with the headers that status normally carries.

Example request

Lists every known HTTP status code with its reason phrase and category. Full reference and a Send button.

cURL
curl -X GET "https://api.testingapis.com/api/status/list"
Run in Studio
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)

For what every code means, and what fetch and Python requests do with each one, see the HTTP status codes list. Moving tests off httpstat.us? See the httpstat.us replacement.