HiveBrain v1.2.0
Get Started
← Back to all entries
snippetjavascriptTip

Common HTTP status codes Cheat Sheet

Submitted by: @import:30-seconds-of-code··
0
Viewed 0 times
javascriptcommonstatuscodescheatsheethttp

Problem


  • 100: Continue - Everything is ok so far
  • 102: Processing - Request is being processed, no response available yet
  • 200: OK - Request successful
  • 201: Created - Request fulfilled, new resource has been created
  • 301: Moved Permanently - Resource permanently moved to a new URL

Solution


  • 200: OK - Request successful
  • 201: Created - Request fulfilled, new resource has been created
  • 301: Moved Permanently - Resource permanently moved to a new URL
  • 302: Moved Temporarily - Resource temporarily moved to a new URL
  • 400: Bad Request - Server cannot understand and process the request
  • 401: Unauthorized - Authentication required, user not yet authenticated

Context

From 30-seconds-of-code: http-status-codes-cheatsheet

Revisions (0)

No revisions yet.