StackStorm-Exchange / stackstorm-zabbix

Apache License 2.0
16 stars 21 forks source link

pass token when calling webhook api #14

Closed shreyas-shinde closed 6 years ago

shreyas-shinde commented 6 years ago

https://github.com/StackStorm-Exchange/stackstorm-zabbix/blob/master/tools/scripts/st2_dispatch.py#L31

Like below: self.client.managers['Webhook'].client.post('/webhooks/st2', body, token=self.client.token)

i can see in my api log no token or api key given error.

LindsayHill commented 6 years ago

Can you create a PR to fix this?