News for hackers. Stuff that matters.
Re:REST Anti-Patterns (2008) by fenwick67 on Wednesday May 10, 2017 @02:16PM (#14310318)
omg I saw this once.

The status code was 200 but the HTTP body was literally "403: Forbidden". On an endpoint that was supposed to return XML .

I guess they just read the spec and assumed "the API returns a '403: Forbidden' " meant this.

Re:REST Anti-Patterns (2008) by boubiyeah on Wednesday May 10, 2017 @02:27PM (#14310416)
All my clients do that. They literally think that REST means "JSON over HTTP" and don't bother with anything else :(
Re:REST Anti-Patterns (2008) by themoat on Wednesday May 10, 2017 @02:19PM (#14310337)
I wish I only saw this once. This is my life. I integrate with 3rd party APIs for a living...what I've learned is that everyone's 'REST' API is terrible in one way or another.