Author

Topic: http://bitcoind:8332 (Read 707 times)

full member
Activity: 210
Merit: 100
June 17, 2014, 01:57:27 PM
#4
C'est quoi ce topic de ouf Grin

C'est mon cerveau qui fumait.



En fait il faut probablement, tout comme avec curl, integrer la commande dans l'URL

http://user:passwd@bitcoind/machin-truc ...

hero member
Activity: 672
Merit: 501
June 17, 2014, 12:46:58 PM
#3
C'est quoi ce topic de ouf Grin
full member
Activity: 210
Merit: 100
June 14, 2014, 12:14:24 PM
#2
Ben alors  Grin
full member
Activity: 210
Merit: 100
June 12, 2014, 02:22:34 PM
#1
Avec curl c OK

~ $ curl --user '********' --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getinfo","params":[]}' -H 'content-type:text/plain;' http://bitcoind:8332
Enter host password for user '********':
{"result":{"version":90100,"protocolversion":70002,"walletversion":60000, \
"balance":0.03861887, "blocks":305460,"timeoffset":-1,"connections":23,"proxy":"", \
"difficulty":11756551916.90395164, "testnet":false,"keypoololdest":1401754918, \
"keypoolsize":97, "paytxfee":0.00000000,"errors":""}, \
"error":null,"id":"curltext"}
 

Avec un browser ca donne apres login & passwd une erreur avec comme retour http :

{"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null}
Jump to: