POST api/file/common/read

Request Information

URI Parameters

None.

Body Parameters

HttpFileInfo
NameDescriptionTypeAdditional information
url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "url": "sample string 1"
}

application/xml, text/xml

Sample:
<HttpFileInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Connect.Entity.Common">
  <url>sample string 1</url>
</HttpFileInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HttpFileInfo'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
data

Object

None.

success

boolean

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {},
  "success": true,
  "code": 1,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Connect.Fesco.Entity.Entity">
  <code>1</code>
  <data />
  <message>sample string 2</message>
  <success>true</success>
</Result>