4 ms·
An error with a 200 OK status code is pretty clearly not what you _should_ do in REST.
by SideburnsOfDoom 8y ago
An error with a 200 OK status code is pretty clearly not what you _should_ do in REST.
- bdcravens 8y agoNo 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.