CodeAPI response handling
if (response.status === 404) {
showMissingState();
} else if (!response.ok) {
showErrorState();
}Use this HTTP status code cheatsheet to quickly understand common API and web responses, from success to redirects and errors.
Request succeededResource createdSuccess with no response bodyPartial response, often for rangesPermanent redirectTemporary redirectUse cached responseTemporary redirect preserving methodInvalid requestAuthentication neededResource missingServer failed unexpectedlyif (response.status === 404) {
showMissingState();
} else if (!response.ok) {
showErrorState();
}HTTP Status Codes Cheatsheet includes quick reference sections, practical examples, common mistakes, tips and links to related DevKitYard tools.
This cheatsheet is a static quick reference focused on concise commands, syntax and examples.
Use it when you need to recall syntax, compare common patterns or avoid mistakes without opening a long tutorial.
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.