add docs
This commit is contained in:
parent
f789af242c
commit
131fec9964
2 changed files with 5 additions and 18 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
# wsgi server
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# dateinmit sleben namen werden überschrieben
|
18
app.py
18
app.py
|
@ -84,21 +84,3 @@ def list_files():
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 5000)))
|
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
|
|
||||||
|
|
Reference in a new issue