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
-
@mattwebdev in what way? If something goes wrong/correct? Can't think of any use case...
-
I just read about it. Is it meant to be used when someone requests something that's not possible?
-
@jirehstudios looked into the wiki and it has/should be used when someone posts a get for an coffee to a coffee machine and the machine can't fullfil it.
-
@SirWindfield it mentions the teapot which obviously can't make coffee. So I'm guessing it's meant for when someone request something that's impossible.
-
@SirWindfield when I'm building an endpoint and someone requests something that endpoint doesn't know about.
for example if someone requests 'lion' from an endpoint that returns music by genre... I'm going to return 418.
also, because it's funny.
Related Rants
-
devoutpost14HTTP response code cheat sheet (From /r/Programmer humor)
-
alexjamesbrown17Status code: 200 Content-Type: application/json Body: {"error": true, "responseCode":400 }
-
arturgrigio13You see a web, I see: CLIENT: TCP SYN SERVER: TCP SYN ACK CLIENT: HTTP Get SERVER: HTTP Response ... CLIENT...
http response 418 - just made my day
undefined
http