{"id":682,"date":"2023-11-02T14:03:14","date_gmt":"2023-11-02T20:03:14","guid":{"rendered":"https:\/\/kop.lat\/blog\/?p=682"},"modified":"2023-11-02T14:03:14","modified_gmt":"2023-11-02T20:03:14","slug":"most-used-http-codes","status":"publish","type":"post","link":"https:\/\/kop.lat\/blog\/most-used-http-codes\/","title":{"rendered":"Most used http codes"},"content":{"rendered":"\n<p>List of HTTP status codes with several examples for each category:<\/p>\n\n\n\n<p><strong>1xx &#8211; Informational (Request received, continuing process):<\/strong><\/p>\n\n\n\n<ol>\n<li>100 Continue<\/li>\n\n\n\n<li>101 Switching Protocols<\/li>\n\n\n\n<li>102 Processing<\/li>\n\n\n\n<li>103 Early Hints<\/li>\n<\/ol>\n\n\n\n<ol>\n<li>100 Continue: The server has received the initial part of the request and will continue to process it.<\/li>\n\n\n\n<li>101 Switching Protocols: The server is switching to a different protocol.<\/li>\n\n\n\n<li>102 Processing: The request is being processed and may take a while to complete.<\/li>\n\n\n\n<li>103 Early Hints: Used to return some response headers before the final response.<\/li>\n<\/ol>\n\n\n\n<p><strong>2xx &#8211; Success (The action was successfully received, understood, and accepted):<\/strong><\/p>\n\n\n\n<ol start=\"5\">\n<li>200 OK<\/li>\n\n\n\n<li>201 Created<\/li>\n\n\n\n<li>202 Accepted<\/li>\n\n\n\n<li>203 Non-Authoritative Information<\/li>\n\n\n\n<li>204 No Content<\/li>\n\n\n\n<li>205 Reset Content<\/li>\n<\/ol>\n\n\n\n<ol start=\"5\">\n<li>200 OK: The request was successful, and the server has returned the requested data.<\/li>\n\n\n\n<li>201 Created: The request resulted in the creation of a new resource.<\/li>\n\n\n\n<li>202 Accepted: The request has been accepted for processing but not yet completed.<\/li>\n\n\n\n<li>204 No Content: The request was successful, but there is no data to return.<\/li>\n\n\n\n<li>206 Partial Content: The server is returning only a portion of the requested resource.<\/li>\n\n\n\n<li>207 Multi-Status: A status for multiple independent operations in a single request.<\/li>\n<\/ol>\n\n\n\n<p><strong>3xx &#8211; Redirection (Further action needs to be taken to complete the request):<\/strong><\/p>\n\n\n\n<ol start=\"11\">\n<li>300 Multiple Choices<\/li>\n\n\n\n<li>301 Moved Permanently<\/li>\n\n\n\n<li>302 Found<\/li>\n\n\n\n<li>303 See Other<\/li>\n\n\n\n<li>304 Not Modified<\/li>\n\n\n\n<li>305 Use Proxy<\/li>\n\n\n\n<li>306 Switch Proxy (Unused)<\/li>\n\n\n\n<li>307 Temporary Redirect<\/li>\n\n\n\n<li>308 Permanent Redirect<\/li>\n<\/ol>\n\n\n\n<ol start=\"11\">\n<li>300 Multiple Choices: The requested resource corresponds to multiple possibilities.<\/li>\n\n\n\n<li>301 Moved Permanently: The requested resource has been permanently moved to a different URL.<\/li>\n\n\n\n<li>302 Found: The requested resource is temporarily located at a different URL.<\/li>\n\n\n\n<li>304 Not Modified: The client&#8217;s cached copy is up to date, and there&#8217;s no need to transfer the same data again.<\/li>\n\n\n\n<li>307 Temporary Redirect: The request should be repeated with another URL.<\/li>\n<\/ol>\n\n\n\n<p><strong>4xx &#8211; Client Errors (The request contains bad syntax or cannot be fulfilled by the server):<\/strong><\/p>\n\n\n\n<ol start=\"20\">\n<li>400 Bad Request<\/li>\n\n\n\n<li>401 Unauthorized<\/li>\n\n\n\n<li>402 Payment Required (Reserved for future use)<\/li>\n\n\n\n<li>403 Forbidden<\/li>\n\n\n\n<li>404 Not Found<\/li>\n\n\n\n<li>405 Method Not Allowed<\/li>\n\n\n\n<li>406 Not Acceptable<\/li>\n\n\n\n<li>407 Proxy Authentication Required<\/li>\n\n\n\n<li>408 Request Timeout<\/li>\n\n\n\n<li>409 Conflict<\/li>\n\n\n\n<li>410 Gone<\/li>\n<\/ol>\n\n\n\n<ol>\n<li><strong>400 Bad Request<\/strong>: The server cannot process the request due to malformed syntax or invalid parameters in the client&#8217;s request.<\/li>\n\n\n\n<li><strong>401 Unauthorized<\/strong>: Authentication is required, and the provided credentials are missing or invalid.<\/li>\n\n\n\n<li><strong>403 Forbidden<\/strong>: The client&#8217;s request is understood, but it&#8217;s refused due to lack of permission.<\/li>\n\n\n\n<li><strong>404 Not Found<\/strong>: The requested resource could not be found on the server.<\/li>\n\n\n\n<li><strong>405 Method Not Allowed<\/strong>: The requested HTTP method is not supported for the target resource.<\/li>\n\n\n\n<li><strong>406 Not Acceptable<\/strong>: The server cannot produce a response matching the list of acceptable values defined in the request&#8217;s headers.<\/li>\n\n\n\n<li><strong>409 Conflict<\/strong>: Indicates a conflict between the request and the current state of the target resource.<\/li>\n\n\n\n<li><strong>410 Gone<\/strong>: The requested resource is no longer available, and there is no forwarding address.<\/li>\n\n\n\n<li><strong>413 Request Entity Too Large<\/strong>: The request entity is larger than the server is willing to process.<\/li>\n\n\n\n<li><strong>429 Too Many Requests<\/strong>: The user has sent too many requests in a given amount of time (&#8220;rate limiting&#8221;).<\/li>\n<\/ol>\n\n\n\n<p><strong>5xx &#8211; Server Errors (The server failed to fulfill a valid request):<\/strong><\/p>\n\n\n\n<ol start=\"31\">\n<li>500 Internal Server Error<\/li>\n\n\n\n<li>501 Not Implemented<\/li>\n\n\n\n<li>502 Bad Gateway<\/li>\n\n\n\n<li>503 Service Unavailable<\/li>\n\n\n\n<li>504 Gateway Timeout<\/li>\n\n\n\n<li>505 HTTP Version Not Supported<\/li>\n\n\n\n<li>506 Variant Also Negotiates<\/li>\n\n\n\n<li>507 Insufficient Storage<\/li>\n\n\n\n<li>508 Loop Detected<\/li>\n\n\n\n<li>510 Not Extended<\/li>\n<\/ol>\n\n\n\n<ol>\n<li><strong>500 Internal Server Error<\/strong>: The server has encountered an unexpected condition that prevented it from fulfilling the request.<\/li>\n\n\n\n<li><strong>501 Not Implemented<\/strong>: The server does not support the functionality required to fulfill the request.<\/li>\n\n\n\n<li><strong>502 Bad Gateway<\/strong>: The server, acting as a gateway or proxy, received an invalid response from an upstream server.<\/li>\n\n\n\n<li><strong>503 Service Unavailable<\/strong>: The server is temporarily unable to handle the request due to overloading or maintenance.<\/li>\n\n\n\n<li><strong>504 Gateway Timeout<\/strong>: The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.<\/li>\n\n\n\n<li><strong>505 HTTP Version Not Supported<\/strong>: The server does not support the HTTP protocol version used in the request.<\/li>\n\n\n\n<li><strong>507 Insufficient Storage<\/strong>: The server is unable to store the representation needed to complete the request.<\/li>\n\n\n\n<li><strong>508 Loop Detected<\/strong>: The server detected an infinite loop while processing the request.<\/li>\n\n\n\n<li><strong>510 Not Extended<\/strong>: Further extensions to the request are required for the server to fulfill it.<\/li>\n\n\n\n<li><strong>511 Network Authentication Required<\/strong>: The client needs to authenticate to access the network.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>List of HTTP status codes with several examples for each category: 1xx &#8211; Informational (Request received, continuing process): 2xx &#8211; Success (The action was successfully received, understood, and accepted): 3xx &#8211; Redirection (Further action needs to be taken to complete the request): 4xx &#8211; Client Errors (The request contains bad syntax or cannot be fulfilled [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":464,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[40,111],"tags":[133,44],"_links":{"self":[{"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/posts\/682"}],"collection":[{"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/comments?post=682"}],"version-history":[{"count":1,"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/posts\/682\/revisions"}],"predecessor-version":[{"id":683,"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/posts\/682\/revisions\/683"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/media\/464"}],"wp:attachment":[{"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/media?parent=682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/categories?post=682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kop.lat\/blog\/wp-json\/wp\/v2\/tags?post=682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}