Skip to content

Instantly share code, notes, and snippets.

@negipo
Last active October 8, 2019 15:28
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save negipo/515419f3838aaab97796 to your computer and use it in GitHub Desktop.
Save negipo/515419f3838aaab97796 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
curl -X POST -H "Accept: application/json" -H "Content-type: application/json" \
-d "{\"value1\": \"$*\"}" \
'https://maker.ifttt.com/trigger/{your event name}}/with/key/{insert your key}' \
>/dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment