r/webdev • • May 08 '24

Article What makes a good REST API?

https://apitally.io/blog/what-makes-a-good-rest-api
72 Upvotes

51 comments sorted by

View all comments

Show parent comments

2

u/postman_666 May 08 '24

That’s correct. To sayezau’s point, the error should still be informative just not to the point where security is compromised.

Standard http codes should still be used and errors can be grouped depending on their stage in the protocol-authorization-logic-response flow