diff --git a/blog_images/lake-runner.jpg b/blog_images/lake-runner.jpg new file mode 100644 index 000000000..de3de3344 Binary files /dev/null and b/blog_images/lake-runner.jpg differ diff --git a/blog_posts/http-status-codes-cheatsheet.md b/blog_posts/http-status-codes-cheatsheet.md new file mode 100644 index 000000000..8d93c57ea --- /dev/null +++ b/blog_posts/http-status-codes-cheatsheet.md @@ -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)