I'm trying using C#. Getting the following error message:
{
"error": {
"code": -32700,
"message": "Parse error"
},
"id": 0,
"jsonrpc": ""
}
Basically doing the following, which should work. Could anyone shed some light? Been looking at some examples, but can't find the issue.
var values = new NameValueCollection();
values["jsonrpc"] = "2.0";
values["id"] = "0";
values["method"] = "getbalance";
2016-Oct-02 18:38:05.922851 [RPC0]Failed to parse json, what: Wrong JSON charact er at: jsonrpc=2.0&id=0&method=getbalance