Skip to content

Commit

Permalink
Update Sms77.py
Browse files Browse the repository at this point in the history
Adapted API-URL due to changes caused by provider 
(see https://www.sms77.io/de/docs/gateway/http-api/sms-versand)
  • Loading branch information
flothi authored Apr 16, 2017
1 parent 29ffd30 commit 1a9e2a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/Sms77/Sms77.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 1a9e2a3

Please sign in to comment.