notification test
This commit is contained in:
parent
6736680131
commit
3191fabf39
3
app.py
3
app.py
@ -155,7 +155,8 @@ def send_test_notification_proxy():
|
|||||||
try:
|
try:
|
||||||
response = requests.post(
|
response = requests.post(
|
||||||
backend_url,
|
backend_url,
|
||||||
auth=requests.auth.HTTPBasicAuth(username, password)
|
auth=requests.auth.HTTPBasicAuth(username, password),
|
||||||
|
json={"message": "Ktv Test"}
|
||||||
)
|
)
|
||||||
return Response(response.content, status=response.status_code, mimetype=response.headers['Content-Type'])
|
return Response(response.content, status=response.status_code, mimetype=response.headers['Content-Type'])
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user