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.
[ Parent
| on HN ]
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.