Skip to content

Instantly share code, notes, and snippets.

@x1unix
Created June 27, 2022 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save x1unix/99ea4c47305c42b0f477c0595e6fa5a4 to your computer and use it in GitHub Desktop.
Save x1unix/99ea4c47305c42b0f477c0595e6fa5a4 to your computer and use it in GitHub Desktop.
HTTP Status Codes
[
{
"code": "100",
"phrase": "Continue",
"type": "Continue"
},
{
"code": "101",
"phrase": "Switching Protocols",
"type": "SwitchingProtocols"
},
{
"code": "200",
"phrase": "OK",
"type": "OK"
},
{
"code": "201",
"phrase": "Created",
"type": "Created"
},
{
"code": "202",
"phrase": "Accepted",
"type": "Accepted"
},
{
"code": "203",
"phrase": "Non-Authoritative Information",
"type": "NonAuthoritativeInformation"
},
{
"code": "204",
"phrase": "No Content",
"type": "NoContent"
},
{
"code": "205",
"phrase": "Reset Content",
"type": "ResetContent"
},
{
"code": "206",
"phrase": "Partial Content",
"type": "PartialContent"
},
{
"code": "300",
"phrase": "Multiple Choices",
"type": "MultipleChoices"
},
{
"code": "301",
"phrase": "Moved Permanently",
"type": "MovedPermanently"
},
{
"code": "302",
"phrase": "Found",
"type": "Found"
},
{
"code": "303",
"phrase": "See Other",
"type": "SeeOther"
},
{
"code": "304",
"phrase": "Not Modified",
"type": "NotModified"
},
{
"code": "305",
"phrase": "Use Proxy",
"type": "UseProxy"
},
{
"code": "307",
"phrase": "Temporary Redirect",
"type": "TemporaryRedirect"
},
{
"code": "400",
"phrase": "Bad Request",
"type": "BadRequest"
},
{
"code": "401",
"phrase": "Unauthorized",
"type": "Unauthorized"
},
{
"code": "402",
"phrase": "Payment Required",
"type": "PaymentRequired"
},
{
"code": "403",
"phrase": "Forbidden",
"type": "Forbidden"
},
{
"code": "404",
"phrase": "Not Found",
"type": "NotFound"
},
{
"code": "405",
"phrase": "Method Not Allowed",
"type": "MethodNotAllowed"
},
{
"code": "406",
"phrase": "Not Acceptable",
"type": "NotAcceptable"
},
{
"code": "407",
"phrase": "Proxy Authentication Required",
"type": "ProxyAuthenticationRequired"
},
{
"code": "408",
"phrase": "Request Timeout",
"type": "RequestTimeout"
},
{
"code": "409",
"phrase": "Conflict",
"type": "Conflict"
},
{
"code": "410",
"phrase": "Gone",
"type": "Gone"
},
{
"code": "411",
"phrase": "Length Required",
"type": "LengthRequired"
},
{
"code": "412",
"phrase": "Precondition Failed",
"type": "PreconditionFailed"
},
{
"code": "413",
"phrase": "Payload Too Large",
"type": "PayloadTooLarge"
},
{
"code": "414",
"phrase": "URI Too Long",
"type": "URITooLong"
},
{
"code": "415",
"phrase": "Unsupported Media Type",
"type": "UnsupportedMediaType"
},
{
"code": "416",
"phrase": "Range Not Satisfiable",
"type": "RangeNotSatisfiable"
},
{
"code": "417",
"phrase": "Expectation Failed",
"type": "ExpectationFailed"
},
{
"code": "418",
"phrase": "I'm a teapot",
"type": "IAmATeapot"
},
{
"code": "426",
"phrase": "Upgrade Required",
"type": "UpgradeRequired"
},
{
"code": "500",
"phrase": "Internal Server Error",
"type": "InternalServerError"
},
{
"code": "501",
"phrase": "Not Implemented",
"type": "NotImplemented"
},
{
"code": "502",
"phrase": "Bad Gateway",
"type": "BadGateway"
},
{
"code": "503",
"phrase": "Service Unavailable",
"type": "ServiceUnavailable"
},
{
"code": "504",
"phrase": "Gateway Time-out",
"type": "GatewayTimeout"
},
{
"code": "505",
"phrase": "HTTP Version Not Supported",
"type": "HTTPVersionNotSupported"
},
{
"code": "102",
"phrase": "Processing",
"type": "Processing"
},
{
"code": "207",
"phrase": "Multi-Status",
"type": "MultiStatus"
},
{
"code": "226",
"phrase": "IM Used",
"type": "IMUsed"
},
{
"code": "308",
"phrase": "Permanent Redirect",
"type": "PermanentRedirect"
},
{
"code": "422",
"phrase": "Unprocessable Entity",
"type": "UnprocessableEntity"
},
{
"code": "423",
"phrase": "Locked",
"type": "Locked"
},
{
"code": "424",
"phrase": "Failed Dependency",
"type": "FailedDependency"
},
{
"code": "428",
"phrase": "Precondition Required",
"type": "PreconditionRequired"
},
{
"code": "429",
"phrase": "Too Many Requests",
"type": "TooManyRequests"
},
{
"code": "431",
"phrase": "Request Header Fields Too Large",
"type": "RequestHeaderFieldsTooLarge"
},
{
"code": "451",
"phrase": "Unavailable For Legal Reasons",
"type": "UnavailableForLegalReasons"
},
{
"code": "506",
"phrase": "Variant Also Negotiates",
"type": "VariantAlsoNegotiates"
},
{
"code": "507",
"phrase": "Insufficient Storage",
"type": "InsufficientStorage"
},
{
"code": "511",
"phrase": "Network Authentication Required",
"type": "NetworkAuthenticationRequired"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment