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服務器?