Refactor form handling (#548)

This commit is contained in:
dgtlmoon
2022-04-19 21:43:07 +02:00
committed by GitHub
parent 380c512cc2
commit 8f062bfec9
19 changed files with 283 additions and 292 deletions

View File

@@ -85,6 +85,7 @@ def live_server_setup(live_server):
# Just return the body in the request
@live_server.app.route('/test-body', methods=['POST', 'GET'])
def test_body():
print ("TEST-BODY GOT", request.data, "returning")
return request.data
# Just return the verb in the request