(2012-11-04, 21:13)Montellese Wrote: Code:
{ "jsonrpc": "2.0", "method", "Input.ExecuteAction", "params": { "action": "PageUp" }, "id": 1 }
This code gave me the following error:
{"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
using the specs as an example:
{"jsonrpc": "2.0", "method": "sum", "params": [1,2,4], "id": "1"},
I tried
Code:
{ "jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "PageUp" }, "id": 1 }
{"error":{"code":-32602,"data":{"method":"Input.ExecuteAction","stack":{"message":"Received value does not match any of the defined enum values","name":"action","type":"string"}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}