News for hackers. Stuff that matters.
Re:REST Anti-Patterns (2008) by SomeStupidPoint on Wednesday May 10, 2017 @02:37PM (#14310489)
Wait...

You gotten a response that's HTTP 200, but the JSON itself contained something like "code: 403"?

Well, now I know what I'm going to do if I ever really hate my coworkers/company.

Re:REST Anti-Patterns (2008) by boubiyeah on Wednesday May 10, 2017 @02:38PM (#14310500)
I've seen that, and also status = 500 with the body { ok: false, status: 404 }
Re:REST Anti-Patterns (2008) by strictnein on Wednesday May 10, 2017 @02:58PM (#14310673)
The codebase I'm working on currently has that and more.