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

http trigger not working

Open merlin2105 opened this issue 8 years ago • 1 comments

hi, i have install the Harmony-API on my Synology, it works fine! when i trigger a button over Terminal with: curl --request POST http://192.168.1.100:8282/hubs/harmony/devices/rollos/commands/1-auf it works fine!

i need to trigger it from http for a home bridge Plugin!

When I enter http://192.168.1.100:8282/hubs/harmony/devices/rollos/commands/1-auf in the browser i get an error ! Cannot GET /hubs/harmony/devices/rollos/commands/1-auf

what am I doing wrong?

i can only send the command by http for the plugin :-(

Many Thanks Jürgen

merlin2105 avatar May 08 '17 14:05 merlin2105

You can't use the url in the browser, the HTTP request required is a POST and browsers use GET when loading a URL.

maddox avatar May 08 '17 17:05 maddox