POST api/Login/getVcode

发送验证码

Request Information

URI Parameters

None.

Body Parameters

getVcodePost
NameDescriptionTypeAdditional information
tel

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<getVcodePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Controllers">
  <tel>sample string 1</tel>
</getVcodePost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

vcodeRes
NameDescriptionTypeAdditional information
vcode

string

None.

Code

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "vcode": "sample string 1",
  "Code": 2,
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<vcodeRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Controllers">
  <Code xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">2</Code>
  <Msg xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">sample string 3</Msg>
  <vcode>sample string 1</vcode>
</vcodeRes>