POST api/LiteAuth/WriteFile

测试生成静态页面方法

Request Information

URI Parameters

None.

Body Parameters

TextInput
NameDescriptionTypeAdditional information
strText

string

None.

strContent

string

None.

strAuthor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "strText": "sample string 1",
  "strContent": "sample string 2",
  "strAuthor": "sample string 3"
}

application/xml, text/xml

Sample:
<TextInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPIAuth.Controller">
  <strAuthor>sample string 3</strAuthor>
  <strContent>sample string 2</strContent>
  <strText>sample string 1</strText>
</TextInput>

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 'TextInput'.

Response Information

Resource Description

测试生成静态页面方法

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>