harmony-api icon indicating copy to clipboard operation
harmony-api copied to clipboard

Example

Open sturlahallas opened this issue 8 years ago • 1 comments

Hi. Unfortunatly I'm unfamiliar with the technology you've used in this api. Got it up and running and I can get informasjon from the hub. But I would be very grateful if you could provide an example on how to post a command to the Harmony Hub from a webpage. Thank you very much in advance.

sturlahallas avatar Dec 02 '16 13:12 sturlahallas

If you're wanting to do it from a page, a normal POST request from a form should do it: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms/Sending_and_retrieving_form_data#The_method_attribute

farooqu avatar Dec 12 '16 16:12 farooqu