DEV Community

Cover image for Understanding the most important HTTP status codes

Understanding the most important HTTP status codes

Diona Rodrigues on January 01, 2024

Maybe you never realized how difficult the web would be without HTTP status codes, or what a terrible place to work without them, did you? How woul...
Collapse
 
console_x profile image
F. Güngör

Backend devs please Don't do this
Image description

Collapse
 
dionarodrigues profile image
Diona Rodrigues

Hahahaha
That’s true, BE must send the correct Status Codes always, by following the protocol.

Collapse
 
trinhvanminh profile image
trinhvanminh • Edited

I think it is a pretty good way to handle errors in client apps without

try
// something
catch
// handle errors

in every request

Collapse
 
benbpyle profile image
Benjamen Pyle

Too many times people skip over these codes and when used correctly they totally drive clarity and function. Thanks for highlighting.

Collapse
 
dionarodrigues profile image
Diona Rodrigues • Edited

Thanks for your comment. I totally agree with u.

Collapse
 
d2j1 profile image
D

Nicely done! Thank you for sharing @dionarodrigues

Collapse
 
dionarodrigues profile image
Diona Rodrigues

Thank you!! Nice to help! :)

Collapse
 
vechet profile image
Chuo Vechet

Good sharing.

Collapse
 
dionarodrigues profile image
Diona Rodrigues

Thanks!

Collapse
 
networkmario profile image
Mario Montella

It is always underestimated or omitted, thanks for this explanation.

Collapse
 
dionarodrigues profile image
Diona Rodrigues

Exactly Mario. Thanks!

Collapse
 
webjose profile image
Info Comment hidden by post author - thread only accessible via permalink
José Pablo Ramírez Vargas

Some comments have been hidden by the post's author - find out more