🌐HTTP Status Code
Also known as Status Code, Response Code, 404, 500
A number with three digits in each reply. It says how the request went.
Think of it like
Think of it like a traffic light for a web page. One quick sign tells you if it went well.
Example
Jack deletes an old page. Visitors now get 404 Not Found, so Jack sets a 301 that sends them to the new page.
Why it matters
The code tells you at a glance whose fault an error is: the request or the server.
Definition
Example code
http
HTTP/1.1 404 Not FoundCommon mistake
Key takeaways
- 1Three digits. The first gives the group.
- 24xx versus 5xx. Your request or the server.
- 3Machines act on it. Browsers and search engines.