docs: update README curl section with auth example

This commit is contained in:
fusion44 2022-11-26 15:51:39 +01:00
parent cebbdfb0d1
commit b9f4577d21
No known key found for this signature in database

View file

@ -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