6

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.

2

1 Answer 1

2

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.