Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #請填入你的line notify token
- line_token="token"
- #Line傳出的文字訊息,enter可提供換行
- msg="警告!!$1級地震,將於$2秒後到達!!"
- #這裡不用動,謝謝配合
- curl -X POST https://notify-api.line.me/api/notify \
- -H "Authorization: Bearer $line_token" \
- -F "message=$msg"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement