This commit is contained in:
Michael Grote 2023-04-13 14:21:15 +02:00
parent f789af242c
commit 131fec9964
2 changed files with 5 additions and 18 deletions

View file

@ -0,0 +1,5 @@
# wsgi server
# dateinmit sleben namen werden überschrieben

18
app.py
View file

@ -84,21 +84,3 @@ def list_files():
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 5000)))
# Upload
# touch ../hallowelt && curl -X POST -H "token: myuploadtoken" -F "file=@../hallowelt" http://docker10.grote.lan:5040/upload
# Download
# wget http://docker10.grote.lan:5040/download/hallowelt
# delete
# curl -X DELETE -H "token: myuploadtoken" http://docker10.grote.lan:5040/delete/hallowelt
# list
# curl -H "token: myuploadtoken" http://docker10.grote.lan:5040/list
# upload check
# download
# farben im putput weg
# wsgi server