Hi Forum.
My OH server is also a HTPC in my rack (hidden away in a normal closet in my utillity room) connected to my HDAnywhere HDBT matrix.
NB! The POST example here below is from reverse engeneering the XBMC web based remote! But is confirmed and recognised via the API documentation from above URLs.
POST URL:
http://<your-ip>:<your-port>/jsonrpc?Input.Up
POST Header:
{"jsonrpc": "2.0", "method": "Input.Up", "ID", 1}
GET Example:
http://<your-ip>:<your-port>/jsonrpc?request={"e;jsonrpc&qout: &qout;2.0&qout;, &qout;method": "Input.Up", "ID": 1}
After this formula: http://<your-ip>:<your-port>/jsonrpc?request=<url-encoded-request>
However I cant seem to get this working propperly.
Can anyone give me an example on how I could use the SendHttpPostRequest() or SendHttpGetRequest() from rules?