cURL
curl --request POST \ --url https://apiweb.mile.app/api/v3/task/photo/{forRenameFile} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form photo='@example-file' \ --form 'forRenameFile=<string>'
{ "status": true, "url": "https://mile-v3.s3.ap-southeast-1.amazonaws.com/development/628dd142dd11f3369825bcf5/2022/06/22/1655862450_62b2744ee22400003b006bb2_0_photo1.jpg" }
Use a valid Bearer token to authenticate.
mime file jpg
this parameter for rename file what to want, after timestamp. Example: 62b2744ee22400003b006bb2_0_photo1
62b2744ee22400003b006bb2_0_photo1
Success
Status of response.
URL of image task.