Skip to content

Commit

Permalink
removed a questionable moment from the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
StepanRomashkov committed Apr 25, 2021
1 parent 4d07a46 commit 93edbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ X-Powered-By: ASP.NET

## Endpoints

So far the app has minimalistic design so the User model has only Id, Email and a collection of notices. Of course, it has a hashed password as well but thanks to Automapper it's usually not exposed. The following endpoints are currently available:
So far the app has minimalistic design. For example the User model has only Id, Email, hashed password and a collection of notices. The following endpoints are currently available:

- /users/register [POST] - Allows user to be registered. Takes {"email": "*string*", "password": "*string*"} object as an argument
- /users/authenticate [POST] - Authenticates user. Takes {"email": "*string*", "password": "*string*"} object as an argument. Returns an object containing serialized JWT.
Expand Down

0 comments on commit 93edbf9

Please sign in to comment.