From 1f6ab1215bbb1f8a5f1743c3c413b95ad08090df Mon Sep 17 00:00:00 2001 From: Matthew Zipkin Date: Fri, 7 Jun 2024 10:47:24 -0400 Subject: minor: remove unnecessary semicolons from RPC content type examples --- doc/JSON-RPC-interface.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/JSON-RPC-interface.md') diff --git a/doc/JSON-RPC-interface.md b/doc/JSON-RPC-interface.md index 4a9ef0293f..10d8ee52eb 100644 --- a/doc/JSON-RPC-interface.md +++ b/doc/JSON-RPC-interface.md @@ -33,10 +33,10 @@ requests when multiple wallets are in use. ```sh # Get block count from the / endpoint when rpcuser=alice and rpcport=38332 -$ curl --user alice --data-binary '{"jsonrpc": "2.0", "id": "0", "method": "getblockcount", "params": []}' -H 'content-type: application/json;' localhost:38332/ +$ curl --user alice --data-binary '{"jsonrpc": "2.0", "id": "0", "method": "getblockcount", "params": []}' -H 'content-type: application/json' localhost:38332/ # Get balance from the /wallet/walletname endpoint when rpcuser=alice, rpcport=38332 and rpcwallet=desc-wallet -$ curl --user alice --data-binary '{"jsonrpc": "2.0", "id": "0", "method": "getbalance", "params": []}' -H 'content-type: application/json;' localhost:38332/wallet/desc-wallet +$ curl --user alice --data-binary '{"jsonrpc": "2.0", "id": "0", "method": "getbalance", "params": []}' -H 'content-type: application/json' localhost:38332/wallet/desc-wallet ``` -- cgit v1.2.3