Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I'm 100% sure that all of the people that have these tattooes don't even know what half of it means.
-
Albatross295yThat's a lot of text for one arm...
Just get the cheat sheet:
1xx - Hold on
2xx - Here you go
3xx - Go away
4xx - You fucked up
5xx - I fucked up -
@KorDarei It's more useful to know which error you should actually be sending rather than just 400 with an error message
-
@AlgoRythm message is important also, nor do i or my collegues know what the hell 446 means, you need a message about the details... Later on you have a detailed message, who cares if there is 446 or 445, so everybody turns to responding 400... The rules of code entropy 😁
-
@KorDarei the codes are less for the human and more for the computer.
You want to have response.code in your if statement, not a string comparison. Error messages change, error codes don't -
@AlgoRythm you've got the point when i think of it, i haven't compared strings in server responses for that very reason... but i think messages in API calls are important too, i mean it's not enough to send 422 to a user without a message what is wrong
Hahaha guys I got the HTTP response codes tattooed on my arm so I don't forget them! Aren't I fun and quirky? I'm such a code nerd, oh thanks for the likes, Twitter! Wowowowow i am just SO FUN. Look at my nerdy tattoo!!
joke/meme