From 5880f14e0788d13570cbcb0fdd7e6a02c943d590 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Thu, 29 Apr 2021 08:54:18 -0700 Subject: [PATCH] Adding curl example for jwt token, to README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9774025..563c21f 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,15 @@ The rate limits for [api.fullstack.cash](https://api.fullstack.cash) are control - `Authorization: Token ` +### cURL example +Here is an example using curl for using the JWT token when making a call to the REST API: + +``` +export BCHJSTOKEN=eyJhbGciOiJ.... + +curl "https://bchn.fullstack.cash/v4/electrumx/balance/bitcoincash:qr69kyzha07dcecrsvjwsj4s6slnlq4r8c30lxnur3" -X GET -H "Content-Type: application/json" -H "Authorization: Token ${BCHJSTOKEN}" +``` + ## Support Have questions? Need help? Join our community support [Telegram channel](https://t.me/bch_js_toolkit)