Webhooks and IFTTT

Hi All,

I am trying to make a trigger for an event using IFTTT, so each time autopi turns on or off, I get a notification on my phone.

Under the triggers page, is it possible to go around the JSON validator? For example by changing the file where the trigger is saved manually using SSH.

For some reason, IFTTT can only parse json if you send it in this format:

curl -X POST https:// maker.ifttt. com/trigger/{your event id]/with/key/{your key} -H “Content-Type: application/json” -d {\“value1\”:\“on\”}

Autopi supports only valid JSON format, so {“value1”:“on”} .

I don’t really need to have the JSON body, as you can get a notification anyway, but it would be nice to reuse the same applet on IFTTT for multiple messages.

Hi Again,

I fixed the problem by using https:// maker.ifttt. com/trigger/{your event id]/with/key/{your key}?value1=on and a blank JSON body, so {}.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.