Skip to content

Instantly share code, notes, and snippets.

@makevoid
Created November 17, 2018 22:25
Show Gist options
  • Select an option

  • Save makevoid/6a5f7f183b3fc14aa506d3edc0059693 to your computer and use it in GitHub Desktop.

Select an option

Save makevoid/6a5f7f183b3fc14aa506d3edc0059693 to your computer and use it in GitHub Desktop.
Test Curl to Bitcoin RPC (getinfo call)
curl --user bitcoin:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://localhost:8332/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment