david-fisher / 320-S20-Track2

Integration Track 2
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

POST /authentication #62

Closed dergoose closed 4 years ago

dergoose commented 4 years ago

Endpoint is /authentication HttpRequest is POST Enables an existing user to log in with correct credentials by passing back a random token.

Request body needs to be { "username": "a valid existing email", "password": "correct hashed password" }