mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
docs: update README curl section with auth example
This commit is contained in:
parent
cebbdfb0d1
commit
b9f4577d21
1 changed files with 2 additions and 2 deletions
|
|
@ -193,11 +193,11 @@ http://127.0.0.1:8000/latest/docs
|
|||
### Useful cURL commands to test the API
|
||||
|
||||
```sh
|
||||
curl -N http://127.0.0.1:8000/sse/subscribe
|
||||
curl -N -H "Authorization: Bearer JWT_TOKEN_HERE" http://127.0.0.1:8000/sse/subscribe
|
||||
```
|
||||
|
||||
```sh
|
||||
curl -N http://127.0.0.1:8000/v1/bitcoin/getblockchaininfo
|
||||
curl -N -H "Authorization: Bearer JWT_TOKEN_HERE" http://127.0.0.1:8000/v1/bitcoin/getblockchaininfo
|
||||
```
|
||||
|
||||
```sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue