Storage
Cloud storage
Upload file
POST https://api.screwltd.com/v3/cloud/storage/upload
Uploads a file to the server
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
file
byte[]
File to be transferred
Response
{
"message": "File uploaded successfully",
}{
"error": "Invalid request"
}Get file
GET https://api.screwltd.com/v3/cloud/storage/get/:filename
Download a file from storage
Params
Name
Type
Description
:filename
string
Name of the file
Response
Last updated
Was this helpful?