Skip to content

Instantly share code, notes, and snippets.

@kittinan
Created November 30, 2018 09:51
Show Gist options
  • Save kittinan/21b225ee2d17b8afbd18fab23b5c3815 to your computer and use it in GitHub Desktop.
Save kittinan/21b225ee2d17b8afbd18fab23b5c3815 to your computer and use it in GitHub Desktop.
shell script line notify
#!/bin/bash
msg="message=$1"
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Bearer TOKEN" \
--data "$msg" \
https://notify-api.line.me/api/notify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment