News for hackers. Stuff that matters.
Re:Error 418 – I'm a Teapot by lmm on Wednesday December 02, 2020 @08:32PM (#25284184)
All the HTTP error codes are like that. There are hundreds of them, but they're not specific enough to actually tell you what went wrong without site-specific information.
Re:Error 418 – I'm a Teapot by paledot on Wednesday December 02, 2020 @08:43PM (#25284250)
Which is why REST APIs should just accept that the only two error codes that matter are 400 Your Fault and 500 My Fault. Too much ambiguity when you try to shoehorn meaning into responses like 401 and 404.