Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahgooding authored Apr 16, 2020
1 parent 1a94dad commit 68325ba
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,22 @@ Gets a list of users

###### POST /users
Route for signing up, creates your access token
```json
{
"username": "yourusername",
"password": "yourpassword",
"cohort": 19
}
```

###### POST /login
Route for logging in, you receive an access token

```json
{
"username": "yourusername",
"password": "yourpassword",
}
```
###### GET /:user/books
DISCLAIMER: currently doesn't work
Gets books associated with a particular username, e.g.`/ivo/books/`
Expand Down

0 comments on commit 68325ba

Please sign in to comment.