DEV Community



mrdanishsaleem profile image Danish Saleem ・1 min read

• 200: OK - status code indicates that the request has succeeded

• 201: CREATED - request has succeeded and a new resource has been created

• 204: NO CONTENT - server has fulfilled the request but does not need to return a response body

• 304: NOT MODIFIED - Indicates the client that the response has not been modified.

• 400: BAD REQUEST - The request could not be understood by the server due to incorrect syntax.

• 401: UNAUTHORIZED - the request requires user authentication information.

• 403: FORBIDDEN - client does not have access rights to the content.

• 404: NOT FOUND - The server cannot find the requested resource.

• 409: CONFLICT - request could not be completed due to a conflict with the current state of the resource.

• 500: INTERNAL SERVER ERROR - server encountered an unexpected condition which prevents it from fulfilling the request.

• 503: SERVICE UNAVAILABLE - The server is not ready to handle the request.

• 504: GATEWAY TIMEOUT - The server is acting as a gateway and cannot get a response in time for a request.

• 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.

Note: If you know other status code. Let me know in the comment section. Thanks, 😉

Discussion (4)

Editor guide
leefreemanxyz profile image
Lee Freeman

The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is, permanently, a teapot.

mrdanishsaleem profile image
Danish Saleem Author

Thank you for an add-on. 👍

filatovv profile image
Yuri Filatov

Helpful information, thank you!

mrdanishsaleem profile image
Danish Saleem Author

I'm glad you find this information helpful. 😉