News for hackers. Stuff that matters.
Re:I've been a software engineer for 10 years and I can't do... by jcadam on Monday March 06, 2017 @02:47PM (#13805468)
Programmers who want their REST API to return correct http response codes. I have a good many of them memorized by now. :(

...someday I'll find an excuse to return a 418.

Re:I've been a software engineer for 10 years and I can't do... by lj3 on Monday March 06, 2017 @08:46PM (#13807698)
Bah! Just always return 200 and if there's an error, make your users look for an error property in the json return value that contains a thoroughly unhelpful error message, like "I'm a teapot." ;)