Last active
January 12, 2016 08:28
-
-
Save Serpens/0a47d902c9175cdc828c to your computer and use it in GitHub Desktop.
Pushbullet from Bash
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
#!/bin/bash | |
curl --header 'Authorization: Bearer API_KEY_HERE' -X POST https://api.pushbullet.com/v2/pushes --header 'Content-Type: application/json' --data-binary "{\"type\": \"note\", \"title\": \"$1\", \"body\": \"$2\"}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment