2019-04-30, 00:00
I've been staring at this for way too long, can't see why this command isn't working from powershell on windows.
Kodi 18.1 on LibreELEC
here's my response
Kodi 18.1 on LibreELEC
Code:
curl.exe -i -X POST -d '{"jsonrpc": "2.0","id": 1,"method": "System.Reboot"}' -H "content-type:application/json" http://kodi:[email protected]:8080/jsonrpc
here's my response
Code:
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 76
Content-Type: application/json
Cache-Control: private, max-age=0, no-cache
Accept-Ranges: none
Date: Mon, 29 Apr 2019 21:58:29 GMT
{"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}