I am using postman to get GPS coordinates. After I get the session ID, I Post the following:
{ "jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "456f77f6b686bf5972daa3a26bee60b0","file", "exec", { "command":"gpsctl", "params":["-ix"] } ] }
I should get:
{"jsonrpc":"2.0","id":1,"result":[0,{"code":0,"stdout":"-23.612625\n-46.626355\n"}]}
but only get back:
{
"jsonrpc": "2.0",
"id": 1,
"result": [
6
]
}
Any suggestions ?
Many thanks !