Skip to content

Instantly share code, notes, and snippets.

@eclarke eclarke/beep.sh
Created Sep 15, 2018

Embed
What would you like to do?
sends a push with message contents given as arguments
#!/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
You can’t perform that action at this time.