curl --location --request PUT 'http://prod-cn.your-api-server.com/api/fs/form' \ --header 'Authorization: {{alist_token}}' \ --header 'Content-Length: 17009' \ --header 'File-Path;' \ --header 'As-Task: true' \ --header 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundarylFuwOB1pQ9f4hvRh'
{ "code": 200, "message": "success", "data": { "task": { "id": "sdH2LbjyWRk", "name": "upload animated_zoom.gif to [/data](/alist)", "state": 0, "status": "uploading", "progress": 0, "error": "" } } }