Closed reesedychiao closed 5 months ago
This issue is related to #26 . Merge will close both.
@reesedychiao For the login, the frontend should send a POST request with the following JSON values:
The backend will respond with everything sent to it except for the password. If there is an error, do not log the user in. The error will be of the status code 401 in the HTTP header. This is how you will know there is an error. In the JSON body of the backend's response, there will also be a reason for the error.
closed by #29
Its good you are making habit of creating issues. Next time try and keep the naming scheme consistent with the commit verb scheme. In this instance, "implementing" would be "implement". Good stuff regardless.