Skip to content

Commit

Permalink
docs: update README curl section with auth example
Browse files Browse the repository at this point in the history
  • Loading branch information
fusion44 committed Nov 26, 2022
1 parent cebbdfb commit b9f4577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ http:https://127.0.0.1:8000/latest/docs
### Useful cURL commands to test the API

```sh
curl -N http:https://127.0.0.1:8000/sse/subscribe
curl -N -H "Authorization: Bearer JWT_TOKEN_HERE" http:https://127.0.0.1:8000/sse/subscribe
```

```sh
curl -N http:https://127.0.0.1:8000/v1/bitcoin/getblockchaininfo
curl -N -H "Authorization: Bearer JWT_TOKEN_HERE" http:https://127.0.0.1:8000/v1/bitcoin/getblockchaininfo
```

```sh
Expand Down

0 comments on commit b9f4577

Please sign in to comment.