New Yours API Help 694 bytes, Shell session Soft wrap Raw text Duplicate 1 2 3 4 5 6 7 $ ./getinfo.sh + curl -s --user ru:rp --data-binary '{"jsonrpc":"1.0","id":"cltest","method":"getinfo","params":"[]"}' -H 'content-type: text/plain;' localhost:8334 {"result":null,"error":{"code":-32700,"message":"Failed to parse request: json: cannot unmarshal string into Go value of type []json.RawMessage"},"id":null} $ ./getinfo.sh + curl -s --user ru:rp --data-binary '{"jsonrpc":"1.0","id":"cltest","method":"getinfo","params":[]}' -H 'content-type: text/plain;' localhost:8334 {"result":{"version":100000,"protocolversion":70002,"blocks":171972,"timeoffset":61,"connections":8,"proxy":"","difficulty":1.49829436e+06,"testnet":false,"relayfee":1e-05},"error":null,"id":"cltest"} Pasted 3 minutes ago — Expires in 365 days URL: http://dpaste.com/2Y11CPJ About ...