virtualenv env
. env/bin/enable
pip install -r requirements.txt
python upload_server.py
Send the GET request to http://localhost:5000/upload
with an argument named path
with the path of the file to pass to the script, such as /home/p/Desktop/something.hdf5
.
That whould be equivalent to GET http://localhost:5000/upload?path=/home/p/Desktop/something.hdf5
.
The request will return the link passed by the script or ERROR
.
👍 awesome!
will get back to you as soon as I have some update on the frontend