DevBolt
← Back to tools

HTTP Status Code Reference

Complete reference for all HTTP response status codes. Search by code or name, filter by category, and click any code for detailed explanations.

61 status codes

1xxInformational

2xxSuccess

3xxRedirection

4xxClient Error

5xxServer Error

Quick reference — most common status codes
CodeMeaningCommon Use
200OKSuccessful request
201CreatedResource created (POST)
204No ContentSuccessful delete or update
301Moved PermanentlyURL/domain migration
302FoundTemporary redirect
304Not ModifiedCache hit — use local copy
400Bad RequestInvalid request body/params
401UnauthorizedMissing/invalid auth
403ForbiddenInsufficient permissions
404Not FoundResource doesn't exist
409ConflictVersion/state conflict
422UnprocessableValidation error
429Too Many RequestsRate limited
500Internal Server ErrorUnhandled server bug
502Bad GatewayUpstream server down
503Service UnavailableMaintenance/overload
REST API cheat sheet — which codes to return

GET /resources

200 with the list. 304 if cached.

GET /resources/:id

200 with the resource. 404 if not found.

POST /resources

201 + Location header. 400/422 for validation. 409 for duplicates.

PUT/PATCH /resources/:id

200 with updated resource, or 204 if no body. 404 if not found.

DELETE /resources/:id

204 on success. 404 if not found (or 204 idempotently).

Any endpoint

401 if not authenticated. 403 if not authorized. 429 if rate limited. 500 for unexpected errors.