Cheatsheets

HTTP Status Codes Cheatsheet

Use this HTTP status code cheatsheet to quickly understand common API and web responses, from success to redirects and errors.

Quick reference

2xx success

200 OKRequest succeeded
201 CreatedResource created
204 No ContentSuccess with no response body
206 Partial ContentPartial response, often for ranges

3xx redirects

301 Moved PermanentlyPermanent redirect
302 FoundTemporary redirect
304 Not ModifiedUse cached response
307 Temporary RedirectTemporary redirect preserving method

4xx and 5xx

400 Bad RequestInvalid request
401 UnauthorizedAuthentication needed
404 Not FoundResource missing
500 Internal Server ErrorServer failed unexpectedly

Examples

CodeAPI response handling
if (response.status === 404) {
  showMissingState();
} else if (!response.ok) {
  showErrorState();
}

HTTP Status FAQ

What is included in the HTTP Status cheatsheet?

HTTP Status Codes Cheatsheet includes quick reference sections, practical examples, common mistakes, tips and links to related DevKitYard tools.

Is the HTTP Status cheatsheet interactive?

This cheatsheet is a static quick reference focused on concise commands, syntax and examples.

When should I use this HTTP Status reference?

Use it when you need to recall syntax, compare common patterns or avoid mistakes without opening a long tutorial.

What should I use after reading this cheatsheet?

Use related DevKitYard tools such as HTTP Status Lookup, API Request Builder, API Header Generator when you need to format, validate, generate or inspect real output.