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