0
我想打电话给使用去(而不是在GAE)一HTTP JSON-RPC server for Bitcoin,但我得到的围棋 - JSON-RPC - “太多的冒号”
dial tcp http://user:[email protected]:8332: too many colons in address
或
dial ip http://user:[email protected]:8332: lookup http://user:[email protected]:8332: no such host
错误我尝试过各种network configurations,但无法完成任何事情。当我刚键入的地址输入浏览器,我得到了来自服务器的响应:
{"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null}
它看起来像一个空的调用适当的响应。
如何在Go中正确调用HTTP JSON-RPC服务器?