DEV Community

Discussion on: Hooking Your JavaScript App to IFTTT

Collapse
 
arcturus12 profile image
Arcturus12

Excellent work. Your code is simple enough, but you don't need to send a JSON application to the Maker Webhooks service to trigger it. I've developed a working way that uses only one package and four lines of code that will do the job.

It's at arcturusenterprises.weebly.com/con... if you'd like to check it out.

Collapse
 
johnmunsch profile image
John Munsch

You're correct, in that you don't need or have to POST JSON to the endpoint. However, if you do it like I did then you can pass through several different values with the trigger. Those are then available to use in the email like I did in step 11 above.

If you don't need to pass through any data (for example, if the event itself is all the necessary information) then your technique will work just fine.