status code

When you send a request to a server, you need to know what happened to that request, right? Did it go through smoothly or did something go wrong? That's where status codes come in. They're like little messages from the server telling you what's going on. Table below shows the meaning of status code of various ranges.

diagram

some common HTTP Status Codes


A 200 code means everything went well.
A 404 code means the server couldn't find what you were looking for.
A 400 code means there may be something wrong with your request, like missing information.
A 500 code means something went wrong on the server's end.