Skip to content

Commit

Permalink
Merge b2f4cd4 into 601854f
Browse files Browse the repository at this point in the history
  • Loading branch information
keyuls committed Feb 8, 2021
2 parents 601854f + b2f4cd4 commit 0804362
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ chai.request(app)
chai.request(app)
.get('/protected')
.auth('user', 'pass')

// Authenticate with Bearer Token
chai.request(app)
.get('/protected')
.auth(accessToken, { type: 'bearer' })

```

`.query()`
Expand Down

0 comments on commit 0804362

Please sign in to comment.