Skip to content

Instantly share code, notes, and snippets.

@emmafaye
Created December 22, 2017 09:16
Show Gist options
  • Select an option

  • Save emmafaye/9d3bf532bddc12c71ad754ce86838c73 to your computer and use it in GitHub Desktop.

Select an option

Save emmafaye/9d3bf532bddc12c71ad754ce86838c73 to your computer and use it in GitHub Desktop.
Run an IFTTT recipe using Curl for Windows
@echo off
REM #1 Download Curl for Windows https://curl.haxx.se/download.html#Win64
REM #2 Download the certificate file (cacert.pem) from https://curl.haxx.se/docs/caextract.html
REM #3 Put both curl.exe and cacert.pem into c:/curl directory
REM #4 Add Webhooks as a service https://ifttt.com/maker_webhooks
REM #5 Create a recipe with Webhooks (give it an event name) for starting action and set it to trigger your desired outcome
REM #6 Replace {{event_name}} below with the name you used along with the {{api_key}} which can be found on the documentation page
c:\curl\curl.exe --cacert c:\curl\cacert.pem -X POST https://maker.ifttt.com/trigger/{{event_name}}/with/key/{{api_key}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment