Created
October 9, 2022 21:30
-
-
Save davidpadbury/aa84f0f377b1fc46afb95434d9577277 to your computer and use it in GitHub Desktop.
send message via pushover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -ue | |
message="$1" | |
curl -s \ | |
--form-string "token=$PUSHOVER_API_TOKEN" \ | |
--form-string "user=$PUSHOVER_USER_KEY" \ | |
--form-string "message=$message" \ | |
https://api.pushover.net/1/messages.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment