print_inbox

pull/8/head
db0 2023-06-24 15:08:54 +02:00
parent 2f5cdc1cab
commit b4ef69eded
1 changed files with 1 additions and 3 deletions

View File

@ -55,9 +55,7 @@ def wellknown_redirect():
@logger.catch(reraise=True) @logger.catch(reraise=True)
@OVERSEER.route('/inbox', methods=['POST']) @OVERSEER.route('/inbox', methods=['POST'])
def inbox(): def inbox():
query_string = request.query_string.decode()
print(query_string)
# Access the JSON payload # Access the JSON payload
json_payload = request.get_json() json_payload = request.get_json()
print(json_payload) logger.info(json_payload)
return 'ok', 200 return 'ok', 200