Pastebin
Paste #1544: sms
< previous paste - next paste>
Pasted by chrivers
url = self.config_get_string("sms_gateway_url", default = "https://mobile.1255.dk/sms/send")
username = self.config_get_string("sms_gateway_username", require = True)
password = self.config_get_string("sms_gateway_password", require = True)
appnr = self.config_get_string("sms_gateway_appnr", default = "1255")
data = {"user" : "sdo",
"password" : "xxxxxx",
"appnr" : "1255",
"price" : "0.00DKK",
"to" : msisdnto,
"from" : msisdnfrom,
"test" : testv,
"text" : content}
res = self.http_post(url, data)
New Paste
Go to most recent paste.