Open merlin2105 opened 7 years ago
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
You can't use the url in the browser, the HTTP request required is a POST and browsers use GET when loading a URL.
POST
GET
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