Bitcoin Forum

Economy => Service Discussion => Topic started by: murasha on August 03, 2014, 07:06:00 PM



Title: Blockchain.info Bitcoin-Qt Compatible JSON RPC error
Post by: murasha on August 03, 2014, 07:06:00 PM
Sending a JSON request to rpc.blockchain.info:80 according to https://blockchain.info/api/json_rpc_api manual returns strange response:
Code:
{"result":{"method":{"static":false,"name":"backupwallet","class":"piuk.rpc.RPC","params":"piuk.merchant.ApiKey","returns":"void"}},"error":null,"jsonrpc":"2.0"}

Actually I am making following request:
Code:
{"method":"getinfo","params":[],"id":1}

Any ideas what can cause this problem?


Title: Re: Blockchain.info Bitcoin-Qt Compatible JSON RPC error
Post by: btcsql on August 03, 2014, 09:53:11 PM
Blockchain.info's RPC API is completely unreliable. You should try port 443 though.


Title: Re: Blockchain.info Bitcoin-Qt Compatible JSON RPC error
Post by: murasha on August 04, 2014, 06:19:20 AM
I figured out that request must have header content-type: text/plain to make blockchain response correctly