Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerstock authored Jun 26, 2019
1 parent 0de5dc7 commit 0536dcd
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,14 @@ https://sgs-lambda-bookr.herokuapp.com/users/users to list all users (must be ad

### Login

Endpoint: https://sgs-lambda-bookr.herokuapp.com/oauth/token
Endpoint: https://sgs-lambda-bookr.herokuapp.com/loginuser

Headers:
Body (application/Json)
```
Authorization : Basic bGFtYmRhLWNsaWVudDpsYW1iZGEtc2VjcmV0
Content-Type : application/x-www-form-urlencoded
```
Body (application/x-www-form-urlencoded)
parenthesized values used for testing
```
grant_type : password
username : yourUsername (admin)
password : yourPassword (password)
{
"username" : "yourUsername",
"password" : "yourPassword"
}
```

Returns:
Expand Down

0 comments on commit 0536dcd

Please sign in to comment.