This content originally appeared on DEV Community and was authored by Danish Saleem
• 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, ?
This content originally appeared on DEV Community and was authored by Danish Saleem
Danish Saleem | Sciencx (2021-04-21T08:43:10+00:00) 12 IMPORTANT HTTP STATUS CODES & THEIR MEANING. Retrieved from https://www.scien.cx/2021/04/21/12-important-http-status-codes-their-meaning/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.