Win Json request to partmode in windows
#1
hi everybody,

I have a question about Json on windows. I just want to make a batch file in order to start partymode every morning. With a curl request with json in a batch file, i think it's possible.
I use in raspbian this .sh file to start partymode. But in windows with curl, i don't know the good request. Can anybody help me please?

Request in .sh file in raspbian:

curl --data-binary '{ "jsonrpc": "2.0", "method": "Player.SetPartymode", "params":{"playerid":0, "partymode":true}, "id": 1}' -H 'content-type: application/json;' http://192.168.1.xx:80xx/jsonrpc

For information, i use windows 10 and kodi 18

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Json request to partmode in windows0