I'm trying to figure out JSON control, but responses back from hyperon are all errors. I am not sure if something isn't enabled - I have no authentication set up. hyperon.ng is running on an i3 nuc (ubuntu). I'm using the Chrome app - Advanced Rest Client.
following the docs I'm sending the following application/json to http://ip:8090/json-rpc
[INDENT]{"command":"serverinfo","tan":1}[/INDENT]
And getting this back:
[INDENT]{
"command": "",
"error": "Errors during message parsing, please consult the Hyperion Log.",
"success": false,
"tan": 0
}[/INDENT]
log shows:
Failed to parse json data from JsonRpc@::ffff:192.168.1.216: Error: illegal value at Line: 0, Column: 0