POST api/uploadfile/UploadFileFromContent
Request Information
URI Parameters
None.
Body Parameters
UploadHtmlContent| Name | Description | Type | Additional information |
|---|---|---|---|
| path | string |
None. |
|
| content | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"path": "sample string 1",
"content": "sample string 2"
}
application/xml, text/xml
Sample:
<UploadFileController.UploadHtmlContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FileUploadManager.Controllers"> <content>sample string 2</content> <path>sample string 1</path> </UploadFileController.UploadHtmlContent>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>