mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-03 23:30:19 +01:00
Update Sms77.py
Adapted API-URL due to changes caused by provider (see https://www.sms77.io/de/docs/gateway/http-api/sms-versand)
This commit is contained in:
parent
29ffd30391
commit
1a9e2a34d1
|
|
@ -66,8 +66,8 @@ def run(typ,freq,data):
|
|||
#
|
||||
logging.debug("send Sms77 %s", typ)
|
||||
|
||||
conn = httplib.HTTPSConnection("gateway.sms77.de:443")
|
||||
conn.request("POST", "",
|
||||
conn = httplib.HTTPSConnection("gateway.sms77.io",443)
|
||||
conn.request("POST", "/api/sms",
|
||||
urllib.urlencode({
|
||||
"u": globalVars.config.get("Sms77", "user"),
|
||||
"p": globalVars.config.get("Sms77", "password"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue