Your Name 3 éve
szülő
commit
683db63d58
1 módosított fájl, 12 hozzáadás és 0 törlés
  1. 12 0
      hhh/notify_tests.py

+ 12 - 0
hhh/notify_tests.py

@@ -0,0 +1,12 @@
+from bs4 import BeautifulSoup
+import requests
+ 
+headers = {
+        "Authorization": "Bearer " + "WekCRfnAirSiSxALiD6gcm0B56EejsoK89zFbIaiZQD",
+        "Content-Type": "application/x-www-form-urlencoded"
+}
+ 
+params = {"message": "這個應該比telegram 好用"}
+ 
+r = requests.post("https://notify-api.line.me/api/notify",headers=headers, params=params)
+print(r)