Created
September 15, 2018 15:17
-
-
Save eclarke/569bb5d91d2a4a46d0a1869a7ea8d91a to your computer and use it in GitHub Desktop.
sends a push with message contents given as arguments
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 'Access-Token: <your_access_token_here>' \ | |
--header 'Content-Type: application/json' \ | |
--data-binary '{"body":":)","title":"$@","type":"note"}' \ | |
--request POST \ | |
https://api.pushbullet.com/v2/pushes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment