mherger wrote: 
> >      curl -X GET
> "http://192.168.1.10:9000/status.html?player=00:12:34:56:78:90&p0=button&p1=play";'
> 
> I'd recommend using json/rpc rather than the legacy status.html:
> 
> curl -X POST -d 
> '{"id":0,"params":["00:12:34:56:78:90",["button","play"]],"method":"slim.request"}'
> 
> http://localhost:9000/jsonrpc.js
> 
> 
> -- 
> 
> Michael
Thanks for the tip. What's the advantage of POST/json over HTTP get - is
it more secure?


------------------------------------------------------------------------
itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=108863

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to