-1
{ "id": "dmLxcN", "is_dir": false, "password": "", "downloads": -1, "expire": 86400, "preview": true }
curl --location --request POST 'http://127.0.0.1:5212/api/v3/share' \ --header 'Cookie: cloudreve-session=' \ --header 'Content-Type: application/json' \ --data-raw '{ "id": "dmLxcN", "is_dir": false, "password": "", "downloads": -1, "expire": 86400, "preview": true }'
{ "code": 0, "data": "string", "msg": "string" }