XBMC: sending a JSON command via http


I’d like to send my XBMC to Standby using the System.Suspend command which is defined within the JSON API. Unfortunately this command is missing in the XBMC command set which is provided with Roomie, because it uses the Web Server API.

I tried it with his string:

POST user:pass@

Can you tell me what I’m doing wrong? If I send this command to the xbmc using a REST client it works…

The “ip-http” example in the DDK provides an example of how that should look.

You would definitely not want to include http:// or your username/password or the IP address. Again, look at the sample. Or just contact support where the forum’s formatting wont mess up the string and we can just rewrite it for you directly.