We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47498cd commit 4c4c45cCopy full SHA for 4c4c45c
fileserver/file_server.py
@@ -60,5 +60,16 @@ def upload_file():
60
resp.status_code = 201
61
return resp
62
63
+@app.route('/namelist', methods=['POST'])
64
+def print_filelist():
65
+ print("CLIENT ID:" + request.form.get("client_id", "") +" have these FILES:" + request.form.get("file_list", []) )
66
+ resp = jsonify({'message' : 'File List Printed'})
67
+ resp.status_code = 200
68
+ return resp
69
+
70
71
72
73
74
if __name__ == '__main__':
75
app.run(host='0.0.0.0', port=5000,debug=True)
0 commit comments