wd-David / snowball

A simple side project for personal accounting.
snowball-front-end.vercel.app
4 stars 1 forks source link

Need API endpoints response status code list #10

Closed wd-David closed 1 year ago

wd-David commented 2 years ago

@AdrieneTZ We need to align the response status code:

200 means successful 400 means a bad request (e.g., incorrect format)

Others like wrong credentials, ...etc.

wd-David commented 2 years ago

For the first draft of the use of status code, I'd suggest:

AdrieneTZ commented 2 years ago

Thank you for the suggestion. After adding auth process, I will add the status code on each response.

wd-David commented 1 year ago

Good job! @AdrieneTZ .