preface

Engineers often shout that the page is blank, the interface is wrong, the interface can not run - "error report?" A response... - "Give me a minute while I refresh. Take a look at the interface. Oh, it's gone again, accidental, accidental problem..." .Copy the code

It's good to take the results we have and add a little bit of our own analysis.

Common HTTP status codes and their meanings

  • 1XX: Indicates the information status code
    • 100 Continue When a POST request is sent, the server sends an acknowledgement message after the HTTP header has been sent, and then sends specific parameter information.
  • 2XX: Indicates the success status code
    • 200OK A normal message is returned.
    • 201The Created request succeeds and the server creates a new resource.
    • 202The Accepted server has Accepted the request but has not yet processed it.
  • 3XX: redirect
    • 301Moved Permanently The page for the Moved Permanently Permanently to the new location.
    • 302Found Temporary redirection.
    • 303See Other temporary redirects and always requests new URIs using GET.
    • 304The requested page has Not been Modified since the last request.
  • 4XX: Client error
    • 400The Bad Request server cannot understand the format of the Request, and the client should not attempt to initiate the Request again with the same content.
    • 401Unauthorized The request is not authorized.
    • 403Forbidden Forbidden access.
    • 404Not Found The resource could Not be Found how to match the URI.
  • 5XX: Server error
    • 500Internal Server Error Indicates a common Server Error.
    • 503Service Unavailable The server is temporarily unable to process the request (possibly due to overload or maintenance).