# **2021/08/16 (LINE Notify)** ###### tags: `藍柏婷` ###### tags: `2021/08/16` ### **== 程式碼1 ==** ```python= import requests send={ 'message':"火災警示", 'imageThumbnail':'https://imgcdn.cna.com.tw/www/WebPhotos/800/20210427/1920x1280_581754849593.jpg', 'imageFullsize':'https://imgcdn.cna.com.tw/www/WebPhotos/800/20210427/1920x1280_581754849593.jpg', } header={ 'Content-Type':'application/x-www-form-urlencoded', 'Authorization':'Bearer ' + "gOljwt8lLAnbpWSIXUk3RJP34Syw6NQADBtorl2GoCP" } r=requests.post("https://notify-api.line.me/api/notify", headers=header, data=send) print(r.text) ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up