Cloud storage
POST https://api.screwltd.com/v3/cloud/storage/uploadarrow-up-right
POST
https://api.screwltd.com/v3/cloud/storage/upload
Uploads a file to the server
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
file
byte[]
File to be transferred
Response
{ "message": "File uploaded successfully", }
{ "error": "Invalid request" }
GET https://api.screwltd.com/v3/cloud/storage/get/:filename arrow-up-right
GET
https://api.screwltd.com/v3/cloud/storage/get/:filename
Download a file from storage
Params
:filename
string
Name of the file
Last updated 1 year ago
{ "error": "File not found" }