News for hackers. Stuff that matters.
Re:REST and GraphQL really aren't that different by bdcravens on Thursday January 31, 2019 @11:40AM (#19046080)
Isn't that easy to do with REST as well however?
Re:REST and GraphQL really aren't that different by SideburnsOfDoom on Friday February 01, 2019 @08:10AM (#19053763)
An error with a 200 OK status code is pretty clearly not what you _should_ do in REST.
Re:REST and GraphQL really aren't that different by bdcravens on Friday February 01, 2019 @01:23PM (#19056849)
No doubt, that's bad design. However, if you try-catch the code and return a custom error message, many frameworks would return a 200 by default if you don't explicitly set the status code.