The meaning of common Http status codes

Learn what common http status codes mean:

 

HTTP Status Code (3-digit code) - The language in which the server and client communicate directly.
    • Success (2-header): The request has been received, understood, and accepted by the server

      status code meaning Details
      200 OK The request has been successful, and the response headers or data bodies expected by the request will be returned with this response
      201 Created The request was successful and the server created a new resource
    • Redirect (3-header): Indicates that further action is required to complete the request. Typically, these status codes are used to redirect

      status code meaning Details
      300 MultipleChoices In response to the request, the server can perform various operations. The server can choose an action based on the requestor (user agent), or provide a list of actions for the requester to choose from
      301 MovedPermanently The requested webpage has been permanently moved to a new location. The server returns this response (response to a Get or Head request)
      303 See Other The server returns this code when the requester should use a separate Get request for a different location to retrieve the response
      304 Not Modified The requested page has not been modified since the last request. When the server returns this response, the web page content will not be returned
    • Request Error (4-header): Indicates that an error may have occurred on the client side, preventing the server from processing

      status code meaning Details
      400 Bad Request Incorrect semantics, the current request cannot be understood by the server or the request parameters are incorrect
      401 Unauthorized The request requires authentication. The server may return this response for web pages that require login
      403 Forbidden Server rejects request
      404 Not Found The server cannot find the requested webpage
    • Server Error (Header 5): Indicates that the server encountered an internal error while trying to process the request. These errors may be errors of the server itself, not an error in the request

      status code meaning Details
      500 Internal Server Error Internal server error, unable to complete the request

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324594308&siteId=291194637