Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
ab7ebb7f17 |
@ -52,6 +52,11 @@ def main():
|
|||||||
if sound:
|
if sound:
|
||||||
payload['sound'] = sound
|
payload['sound'] = sound
|
||||||
|
|
||||||
|
_printable_payload = payload.copy()
|
||||||
|
_printable_payload['token'] = '***'
|
||||||
|
_printable_payload['user'] = '***'
|
||||||
|
print(_printable_payload)
|
||||||
|
|
||||||
response = requests.post(
|
response = requests.post(
|
||||||
url='https://api.pushover.net/1/messages.json',
|
url='https://api.pushover.net/1/messages.json',
|
||||||
headers={'Content-Type': 'application/x-www-form-urlencoded'},
|
headers={'Content-Type': 'application/x-www-form-urlencoded'},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user