Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 397 Bytes

File metadata and controls

19 lines (16 loc) · 397 Bytes

Installation

virtualenv uploadenv
source uploadenv/bin/activate
pip install -r requirements.txt

Usage

./upload.py -h

Testing

curl -F 'file=@data.bin' -F 'metadata={"foo": true}' http://localhost:8080/upload | grep -v '^$'

curl -T data.bin http://localhost:8080/upload | grep -v '^$'

The | grep -v '^$' enables curl's progress meter.