datasets/http-status-codes
string

HTTP Status Codes

Common HTTP response status codes and their meanings.

technology reference
Data preview
KeyValue (string)
200OK
201Created
204No Content
301Moved Permanently
302Found
304Not Modified
400Bad Request
401Unauthorized
403Forbidden
404Not Found
405Method Not Allowed
409Conflict
422Unprocessable Entity
429Too Many Requests
500Internal Server Error
502Bad Gateway
503Service Unavailable
504Gateway Timeout
Fetch it
GET /api/v1/collection/http-status-codes.json
{
  "collection": "http-status-codes",
  "type": "string",
  "count": 18,
  "items": [
    { "key": "200", "value": "OK" },
    { "key": "201", "value": "Created" },
    { "key": "204", "value": "No Content" }
    ]
}
JavaScript
const res = await fetch(
  'https://collections.rest/api/v1/collection/http-status-codes.json'
);
const { items } = await res.json();
// values are typed: integers are numbers, not strings
curl
curl https://collections.rest/api/v1/\
  collection/http-status-codes.csv