Upload File

Uploads given file to the cloud.

Upload File

GET {{server-url}}/files

It returns the uploaded file's url.

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

Content-Type*

String

multipart/form-data

Request Body

NameTypeDescription

file*

File

{
    // Response
}

Example Response Body

{
    "data": "https://qafnftstaging.s3.eu-west-1.amazonaws.com/lCP946LU_400x400.jpg",
    "message": null,
    "code": 0,
    "error": false
}

Last updated