Created
November 30, 2018 09:51
-
-
Save kittinan/21b225ee2d17b8afbd18fab23b5c3815 to your computer and use it in GitHub Desktop.
shell script line notify
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 | |
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