Advertisement
Guest User

Boxcar bash

a guest
Jan 19th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. curl -d "user_credentials=API_KEY" \
  4.         -d "notification[title]=${1}" \
  5.         -d "notification[long_message]=${2}" \
  6.         -d "notification[sound]=up" \
  7.         https://new.boxcar.io/api/notifications
  8.  
  9. echo -e
  10. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement