Promptles
Backend & APIs

Status Code

beginner

Definition

A short three-digit number a server attaches to every reply, telling the browser at a glance how things went. Numbers in the 200s mean success, 300s mean 'try over here instead,' 400s mean the request was wrong somehow, and 500s mean the server itself broke.

In the wild

When you click a link to a deleted article, the server replies with a 404: the famous 'page not found' code. When everything works normally, the page comes back with a quiet 200, which you never notice.

More from Backend & APIs