mirror of
https://github.com/FAUSheppy/simple-webhook-handler
synced 2025-12-07 20:51:35 +01:00
parse json directly
This commit is contained in:
@@ -11,8 +11,7 @@ def rootPage():
|
||||
if flask.request.method == "GET":
|
||||
return "Webhook Listener ist running"
|
||||
else:
|
||||
data = json.loads(flask.request.body)
|
||||
print(json.dumps(data))
|
||||
print(json.dumps(flask.request.json))
|
||||
|
||||
def readExecutionConfig():
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user