I have tested with curl like that (private information obfuscated):
Code:
--------------------
curl --user username:password -X POST -d
'{"id":1,"method":"slim.request","params":["aa:bb:cc:aa:bb:cc",["status","-",1,"tags:al"]]}'
https://my.domain.tld/some-path/jsonrpc.js
--------------------
It returns the status just fine.
Players: 2x Squeezebox Radio, 1x Raspberry Pi (piCorePlayer) with
IQaudIO DigiAMP+ and JBL Control One Speakers, 1x Raspberry Pi
(piCorePlayer) with touch screen (HDMI to AV Receiver), 1x Riva Arena
(via Airplay)
------------------------------------------------------------------------
ashceryth's Profile: http://forums.slimdevices.com/member.php?userid=67137
View this thread: http://forums.slimdevices.com/showthread.php?t=111443
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins