From b9f4577d21af9e28faefac3d3bbc62bb3ecbd1bf Mon Sep 17 00:00:00 2001 From: fusion44 Date: Sat, 26 Nov 2022 15:51:39 +0100 Subject: [PATCH] docs: update README curl section with auth example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86018e3..29d726b 100644 --- a/README.md +++ b/README.md @@ -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