POST api/file/uploadData
Request Information
URI Parameters
None.
Body Parameters
ParamFileUploadName | Description | Type | Additional information |
---|---|---|---|
fileName | string |
None. |
|
folder | string |
None. |
|
data | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "fileName": "sample string 1", "folder": "sample string 2", "data": "sample string 3" }
application/xml, text/xml
Sample:
<FileController.ParamFileUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KhapKhap.Files.Areas.Api.Controllers"> <Data>sample string 3</Data> <FileName>sample string 1</FileName> <Folder>sample string 2</Folder> </FileController.ParamFileUpload>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |