Debug statement

This commit is contained in:
2026-01-02 20:59:22 +01:00
parent af47a7ed23
commit 14b21ad75d

View File

@@ -33,7 +33,8 @@ def handle_message_received(topic:str, payload:str):
try :
print(payload, flush=True)
url = "https://192.168.15.125:1880/message/receive"
requests.post(url, json=payload, verify=False)
response = requests.post(url, json=payload, verify=False)
print(response.json(), flush=True)
except Exception as e:
print(e)