realjobe - 2012-04-12 15:22:38
Hi there.
GREAT class, but I'm having trouble using it.
My JsonRPC call (post) is
URL = http://192.168.0.250:81/jsonrpc
JsonRPC = { "jsonrpc": "2.0", "method": "JSONRPC.Ping", "id": 1 }
How to make the call?
This does not work:
$ex = RestClient::post($url,"{ 'jsonrpc': '2.0', 'method': 'JSONRPC.Ping', 'id': '1 }",$user,$password,"application/json");