You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yeah, the HTTP error code should follow the proper HTTP codes. The code in our error object can be extensible. For example, we can have several reasons to be sending HTTP 400 for an endpoint and we can have codes like "4000", "4001", "4002", etc for these several reasons. Then we can easily track, categorize, etc with these codes.
Usually, the JSON responses sent from RESTful services have a common structure to follow,
Or
Shall we follow the same?
The text was updated successfully, but these errors were encountered: