Skip to content

Instantly share code, notes, and snippets.

@val314159
Forked from anonymous/gist:10520759
Created April 12, 2014 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save val314159/10520821 to your computer and use it in GitHub Desktop.
Save val314159/10520821 to your computer and use it in GitHub Desktop.
import requests
r=requests.get('https://127.0.0.1:8332',verify=False,data='{"jsonrpc":"1.0","id":"%s","method":"getinfo","params":[]}' % str(uuid1()),auth=('bitcoinrpc','password9'))
print r.content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment