POST api/tien-ich/froala/upload/{fileType}
Post file cho froalaEditor
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fileType |
Loại file |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
FileUploadResult| Name | Description | Type | Additional information |
|---|---|---|---|
| link |
Link đến file sau khi upload |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"link": "sample string 1"
}
application/xml, text/xml
Sample:
<TienIchController.FileUploadResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Controllers.API_TienIch"> <link>sample string 1</link> </TienIchController.FileUploadResult>