notification test

This commit is contained in:
Karl 2025-07-18 09:23:30 +01:00
parent 6736680131
commit 3191fabf39

3
app.py
View File

@ -155,7 +155,8 @@ def send_test_notification_proxy():
try:
response = requests.post(
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'])
except requests.exceptions.RequestException as e: