Created
May 26, 2013 14:54
-
-
Save Velrok/5653026 to your computer and use it in GitHub Desktop.
Example post content for XBMC notifications.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Send this to http://<IP>:<PORT>/jsonrpc | |
Also set header: | |
Content-Type: application/json | |
*/ | |
{"jsonrpc":"2.0", | |
"method": "GUI.ShowNotification", | |
"params": {"title": "Twitter Username", | |
"message": "Example Message.", | |
"image": "preview_image_url", | |
"displaytime": 25000}, | |
"id": "1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment