File Upload

Endpoints for uploading files

Upload a file

post

Upload a file to the server

Body
filesstring · binaryOptional

The file to upload

Responses
200

Upload successful

application/json
post
POST /upload HTTP/1.1
Host: fast-file.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18

{
  "files": "binary"
}
{
  "isSuccess": true,
  "files": [
    {
      "oldname": "document.pdf",
      "title": "abc123",
      "extension": "pdf",
      "size2": "12 MB",
      "downloadlink": "https://fast-file.com/abc123"
    }
  ]
}