Skip to content
Snippets Groups Projects
Commit 6e911d34 authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

add root url to apu_test_server for all methods

parent 70661839
No related branches found
No related tags found
1 merge request!15Resolve "Basis-Pfad (/) bei API über Proxy nicht aufrufbar"
...@@ -23,6 +23,7 @@ def passthrough(): ...@@ -23,6 +23,7 @@ def passthrough():
{'url': request.args, 'body': body, 'header': dict(request.headers)}) {'url': request.args, 'body': body, 'header': dict(request.headers)})
return output return output
@app.route('/') @app.route('/', methods = [
'GET', 'POST', 'DELETE', 'UPDATE', 'PATCH', 'OPTIONS', 'PUT', 'HEAD'])
def rootpath(): def rootpath():
return 'rootpath' return 'rootpath'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment