Skip to content

Instantly share code, notes, and snippets.

@aimfireready
Created October 21, 2022 15:56
Show Gist options
  • Select an option

  • Save aimfireready/f346331f894783fbef61f32fdee3d8f8 to your computer and use it in GitHub Desktop.

Select an option

Save aimfireready/f346331f894783fbef61f32fdee3d8f8 to your computer and use it in GitHub Desktop.
Pushover curl
####################################################
# v1.0.0
# 2022 Gandalf Farnam
# Send a Pushover notification
#
# Usage:
# - Replace $TOKEN with the shared folder token.*
# - Replace $USER with your domain.
####################################################
$body='Kachow!'
curl -X POST \
--form-string "token=$TOKEN" \
--form-string "user=$USER" \
--form-string "message=$body" \
"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