diff --git a/server/src/tellmesrv.py b/server/src/tellmesrv.py index b4a45cf..975c742 100644 --- a/server/src/tellmesrv.py +++ b/server/src/tellmesrv.py @@ -68,6 +68,7 @@ def sendmessage(target, message): @app.route("/webhook/", methods=['POST']) def webhook_receiver(id): print("Webhook id %s" % (id)) + pprint(request.json) data = request.json # Get the JSON data from the incoming request # Process the data and perform actions based on the event print("Received webhook data:", data)