mirror of
https://github.com/caronc/apprise.git
synced 2025-01-22 05:49:23 +01:00
freemobile:// msg moved from GET parameters and into payload (#1106)
This commit is contained in:
parent
47abc10af1
commit
da5caf73b3
@ -30,7 +30,7 @@
|
||||
# 1. Visit https://mobile.free.fr/
|
||||
|
||||
# the URL will look something like this:
|
||||
# https://smsapi.free-mobile.fr/sendmsg?msg=content
|
||||
# https://smsapi.free-mobile.fr/sendmsg
|
||||
#
|
||||
|
||||
import requests
|
||||
@ -132,10 +132,6 @@ class NotifyFreeMobile(NotifyBase):
|
||||
payload = {
|
||||
'user': self.user,
|
||||
'pass': self.password,
|
||||
}
|
||||
|
||||
# Our Message
|
||||
params = {
|
||||
'msg': body
|
||||
}
|
||||
|
||||
@ -150,7 +146,6 @@ class NotifyFreeMobile(NotifyBase):
|
||||
r = requests.post(
|
||||
self.notify_url,
|
||||
data=dumps(payload).encode('utf-8'),
|
||||
params=params,
|
||||
headers=headers,
|
||||
verify=self.verify_certificate,
|
||||
timeout=self.request_timeout,
|
||||
|
Loading…
Reference in New Issue
Block a user