# Function description
The front end successfully uploads the resource to the local server
# Request
# Request example
POST upload/files HTTPS
Host: <host>
Content-Type: form/data
Authorization: <AuthString>
# Request Parameters
none
# Request Headers
Name | Description | Type | Mandatory |
---|---|---|---|
Authorization | User token information | string | Yes |
# Request Body
Name | Description | Type | Mandatory |
---|---|---|---|
files | Array of files to upload | MultipartFile | yes |
keys | an array of corresponding paths | String | yes |
# Response
# Response Header
No special response header
# Response Body
Successful Response Body :
{
"code": 0,
"message": "success",
"data": {
"urls": [
"https://testeditor.meishesdk.com:15050/edi8745430889e77bd12110bd52.template",
"https://testeditor.meishesdk.com:15050/edi-225e-451d-9d0a-558208904a81.mp4"
]
}
}
The response body of the failed request is
{
"code": <errorCode>,
"message": <errorMessage>,
"data": null
}