Bitcoin Forum
May 07, 2024, 02:57:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain.info Bitcoin-Qt Compatible JSON RPC error  (Read 1033 times)
murasha (OP)
Member
**
Offline Offline

Activity: 109
Merit: 10


Developer


View Profile
August 03, 2014, 07:06:00 PM
 #1

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?
1715050663
Hero Member
*
Offline Offline

Posts: 1715050663

View Profile Personal Message (Offline)

Ignore
1715050663
Reply with quote  #2

1715050663
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715050663
Hero Member
*
Offline Offline

Posts: 1715050663

View Profile Personal Message (Offline)

Ignore
1715050663
Reply with quote  #2

1715050663
Report to moderator
1715050663
Hero Member
*
Offline Offline

Posts: 1715050663

View Profile Personal Message (Offline)

Ignore
1715050663
Reply with quote  #2

1715050663
Report to moderator
btcsql
Sr. Member
****
Offline Offline

Activity: 292
Merit: 250


View Profile
August 03, 2014, 09:53:11 PM
 #2

Blockchain.info's RPC API is completely unreliable. You should try port 443 though.
murasha (OP)
Member
**
Offline Offline

Activity: 109
Merit: 10


Developer


View Profile
August 04, 2014, 06:19:20 AM
 #3

I figured out that request must have header content-type: text/plain to make blockchain response correctly
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!