3 ms·
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 r
by jcadam 10y ago
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.
- lj3 10y agoBah! 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." ;)