JSON-RPC
Call
{ "method": "string"
, "params": "JSON"
, "id": "string or integer"
}
Response
{ "result": "JSON"
, "error": "string, not included if no error"
, "id": "string or integer"
}
Example
{"method": "echo", "params": ["Hello JSON-RPC"], "id": 1}
{"result": "Hello JSON-RPC", "error": null, "id": 1}