Store images, videos and so on.
上传文件
$ http POST $SERVER_URL/uploads [email protected]
{
"urls": "http://localhost:5000/uploads/071d251339ff6ed6f5aa020d5aa0cd14/upload.txt"
}
File will be stored with the following structure
uploads
├── txt
└── 071d251339ff6ed6f5aa020d5aa0cd14.raw
Download file
wget http://localhost:5000/uploads/071d251339ff6ed6f5aa020d5aa0cd14/upload.txt
# filename can change to other name, but download is the same file
wget http://localhost:5000/uploads/071d251339ff6ed6f5aa020d5aa0cd14/upload-other-name.txt