I can't find any tool to test RPC interface. I am looking for something like Postman (Chrome extenstion). I would like to send request (with login and password) and see their responses in JSON.
-
I'm looking for something similar as well. Or at the very least, a tutorial– Robert JohnstoneCommented Nov 5, 2019 at 10:32
-
1Not to worry. Found what I needed here: en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29, and here: github.com/jgarzik/python-bitcoinrpc– Robert JohnstoneCommented Nov 5, 2019 at 10:43
Add a comment
|
1 Answer
My favorate tool to test an API endpoint is always curl
curl --user user --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
source: https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Command_line_.28cURL.29