POST API/EntranceGuard/ValidCode

Request Information

Parameters

NameDescriptionAdditional information
value
用户接收到的验证码{Id:验证码,Value:电话号码,Flag:0}

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Value": "sample string 2",
  "Flag": 3
}

application/xml, text/xml

Sample:
<IDValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Controllers">
  <Flag>3</Flag>
  <Id>sample string 1</Id>
  <Value>sample string 2</Value>
</IDValue>

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