That works just great but I’m trying to setup Alarmo and wanted to use the notify function so I read up about it in the docs and made a notification client that looks like:
Thanks, tried that now but got a error that Invalid config for [notify.rest]: expected a dictionary for dictionary value @ data['headers']. Got 'application/json; charset=utf-8'.
but then I got a 400 response again so tried commenting out the “header” row instead, thought maybe that would work since it’s optional but that still gives me a 400
Thanks for the info about 400/405. 400 is what I get when using “post” and 405 for “get” so the first should be the right method anyway.
The webhook url is https so verify_ssl: false should still be there and the rest seems correct! Not critical since I can still use a standard automation but would be fun to figure out why!
Could the problem be it tries to send a message to a webhook?
yup that seems to be it, sending with the -d 'some data' switch it doesn’t work but when I removed that and sent it with curl it triggered the event as it should.