kenniy / fitbit-hooks

MIT License
39 stars 6 forks source link

Custom webhooks not working #12

Open patrickrushton opened 4 years ago

patrickrushton commented 4 years ago

I'm trying to trigger commands in BetterTouchTool from my Fitbit. The following example (without the button name prefix) works perfectly in the other Fitbit App "Switchr", but not in Hooks. I wonder if Hooks supports port numbers?

Vol +:http://192.168.1.101:55751/trigger_named/?trigger_name=VolumeUp

patrickrushton commented 4 years ago

Looks like the problem is that the companion app uses POST in the fetch method, changing this GET seems to work in the simulator at least.

kenniy commented 4 years ago

thanks for looking into it. I can make it optional to specify the request method for custom hooks. is that an acceptable solution in your opinion?