Skip to content

hchiam/learning-http-status-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Learning HTTP status codes

Just one of the things I'm learning. https://github.com/hchiam/learning

  • 100+ = info
  • 200+ = success
  • 300+ = redirect
  • 400+ = client error ("it's you")
  • 500+ = server error ("it's not you user, it's me")

Rhyming mnemonics:

(For better mental portability.)

  1. One bun with a nutritional info label on the packaging.
  2. Two shoes of a successful athelete (lucky shoes).
  3. Three trees with redirecting branches/roots which reroute water.
  4. Four doors. Your four entry doors (for clients) are broken. Or maybe you're not authorized to open the doors.
  5. Five hives. We have error bees buzzing inside your database hives.

All-in-one story mnemonic:

Imagine a successful basketball player with Michael Jordan shoes, taking a Vietnamese bun nutrition information label (that has the unusual inclusion of honey as an ingredient), to the front door of a bee keeper's house, to go find the bee hive inside the house (or if it's not there, you might get redirected to a tree to find the treehouse that actually contains the bee hive).

References for further details within each hundred range:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

About

Learning HTTP status codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published