Skip to content

Commit

Permalink
Add auth examples to the doc
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Cattermole <[email protected]>
  • Loading branch information
adam-cattermole committed Sep 20, 2024
1 parent 6675cab commit 41f85ea
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 @@ -167,6 +167,12 @@ There is then a single auth policy defined for e2e testing:

```sh
curl -H "Host: test.a.auth.com" http://127.0.0.1:8000/get -i
# HTTP/1.1 401 Unauthorized
```

```sh
curl -H "Host: test.a.auth.com" -H "Authorization: APIKEY ndyBzreUzF4zqDQsqSPMHkRhriEOtcRx" http://127.0.0.1:8000/get -i
# HTTP/1.1 200 OK
```

And three rate limit policies defined for e2e testing:
Expand Down

0 comments on commit 41f85ea

Please sign in to comment.