Add HTTP code cheatsheet

This commit is contained in:
Chalarangelo
2021-05-20 05:00:00 -04:00
parent 0be86d6f90
commit d1e88e9fb1
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
---
title: Common HTTP status codes Cheat Sheet
type: cheatsheet
tags: webdev,http
authors: chalarangelo
cover: blog_images/lake-runner.jpg
excerpt: Familiarize yourself with the most common HTTP status codes with this handy cheatsheet.
---
### 1xx - Informational
- **100**: Continue - Everything is ok so far
- **102**: Processing - Request is being processed, no response available yet
### 2xx - Success
- **200**: OK - Request successful
- **201**: Created - Request fulfilled, new resource has been created
### 3xx - Redirection
- **301**: Moved Permanently - Resource permanently moved to a new URL
- **302**: Moved Temporarily - Resource temporarily moved to a new URL
### 4xx - Client Error
- **400**: Bad Request - Server cannot understand and process the request
- **401**: Unauthorized - Authentication required, user not yet authenticated
- **403**: Forbidden - Insufficient access permissions to the resource
- **404**: Not Found - Requested resource not found
- **410**: Gone - Request no longer available due to intentional removal
### 5xx - Server Error
- **500**: Internal Server Error - Generic unhandled server error
- **502**: Bad Gateway - Gateway server got an invalid response
- **503**: Service Unavailable - Server temporarily unable to handle request
- **504**: Gateway Timeout - Gateway server didn't get a response in time
**Image credit:** [Robin GAILLOT-DREVON](https://unsplash.com/@robingaillotdrevon?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)