Skip to content
This repository was archived by the owner on Mar 18, 2021. It is now read-only.

HTTP Status Codes

Shubham Naik edited this page Jul 23, 2017 · 1 revision

What is this?

This guide is to inform you on HackMerced's standards of status codes. If you are writing server code, please use the following to report errors and distinctions.

Status Code Meaning Use-Case
200 OK Request has succeeded, use for most successful responses
201 Created When you create something for a user
204 No Content When you delete something for the user
301 Moved Permanently A redirect where we will never use the old link
306 Use Proxy Send if an admin has configured something to require a proxy (Tomoe)
400 Bad Request For any general error
401 Unauthorized Failed to log in
403 Forbidden Someone not logged in tries to access something
404 Not Found Not found pages
Clone this wiki locally