HTTP status codes

Senarai HTTP status codes:-

CodeCategoryDescription
1xxInformational
100ContinueRequest received, continue process.
101Switching ProtocolsProtocol is being switched as requested.
102ProcessingServer is processing the request.
2xxSuccess
200OKRequest was successful.
201CreatedNew resource created.
202AcceptedRequest accepted but not yet processed.
204No ContentSuccessful request, but no content returned.
3xxRedirection
301Moved PermanentlyResource moved to a new URL.
302FoundResource temporarily moved to another URL.
304Not ModifiedCached version of the resource is still valid.
307Temporary RedirectTemporary URL redirection.
4xxClient Errors
400Bad RequestInvalid request format.
401UnauthorizedAuthentication required.
403ForbiddenAccess denied.
404Not FoundResource not found.
405Method Not AllowedHTTP method not supported.
408Request TimeoutServer timed out waiting for the request.
409ConflictConflict in request (e.g., duplicate data).
410GoneResource permanently deleted.
413Payload Too LargeRequest is too large to be processed.
429Too Many RequestsClient sent too many requests in a short time (rate-limiting).
5xxServer Errors
500Internal Server ErrorGeneral server error.
501Not ImplementedServer does not support the requested method.
502Bad GatewayInvalid response from upstream server.
503Service UnavailableServer temporarily unavailable (maintenance, overload).
504Gateway TimeoutServer timed out waiting for a response.
505HTTP Version Not SupportedHTTP version used is not supported.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

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