Top 10 Most Important HTTP status code, every developer should know.
Before getting into the topic let's quickly look what is HTTP and how it's work with a real-world analogy: -
Imagine you search a website or URL in your browser, then your browser sends your request to server. and server return requested data as a response. and that time HTTP come into play. your browser and server talk each other using HTTP protocol. HTTP stands for Hyper-Text Transfer Protocol.
Top 10 HTTP status code: -
200 (ok) - This status code use in successful request.
301 (permanent-redirect) - When a resource has moved permanently to a new location, the server responds with this code.
302 (Temporary Redirect): Similar to 301 but indicates a temporary redirection.
400 (Bad Request): Indicates that the client’s request was malformed or invalid. Common reasons include missing parameters or incorrect syntax.
401 (Unauthorized): The client lacks proper authentication credentials. It’s often used for protected resources that require login.
403 (Forbidden): The client doesn’t have permission to access the requested resource. Authentication won’t help; the server explicitly denies access.
404 (Not Found): Probably the most recognizable status code. It means the requested resource doesn’t exist on the server.
408 (Request Timeout) - when the server doesn’t receive a complete request from the client (usually a web browser).
500 (Internal Server Error): A generic error indicating something went wrong on the server side. It’s a catch-all for unhandled exceptions.
503 (Service Unavailable): The server is temporarily unable to handle requests. It might be due to maintenance or overload.
Except these status code, HTTP have more status code for various task. but these are the most common and most used status code use by Developers.
Subscribe to my newsletter
Read articles from Durlov Phukon directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Durlov Phukon
Durlov Phukon
As a beginner front-end developer, I specialize in designing and implementing responsive and engaging web applications. I have learn HTML, CSS, JavaScript Reactjs, and related technologies, and also learning Backend Development. Beyond technical skills, I'm a collaborative team player who values effective communication and creativity. I enjoy staying up to date with the latest trends and best practices in front-end development, and I'm always looking for opportunities to take on new challenges and expand my skillset. If you're looking for a front-end developer who can create modern, performant, and accessible web applications, feel free to connect with me.