REST API HTTP Status codes

https://restfulapi.net/http-status-codes/

HTTP defines these standard status codes that can be used to convey the results of a client’s request. The status codes are divided into the five categories.

  • 1xx: Informational – Communicates transfer protocol-level information.
  • 2xx: Success – Indicates that the client’s request was accepted successfully.
  • 3xx: Redirection – Indicates that the client must take some additional action in order to complete their request.
  • 4xx: Client Error – This category of error status codes points the finger at clients.
  • 5xx: Server Error – The server takes responsibility for these error status codes.

Leave a Reply

Your email address will not be published. Required fields are marked *