#!/bin/bash CURL=/usr/bin/curl IFTTT_EVENT="YOUR_EVENT_NAME" IFTTT_KEY="YOUR_SECRET_KEY" IFTTT_URL="https://maker.ifttt.com/trigger/${IFTTT_EVENT}/with/key/${IFTTT_KEY}" ${CURL} -X POST \ ${IFTTT_URL} \ --header "Content-Type: application/json" \ --data-binary "{\"value1\": \"$1\"}"