POST api/Mobile/SavePwd

“SavePwd”的文档。

Request Information

Parameters

NameDescriptionAdditional information
formdata
“formdata”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OldPwd": "sample string 1",
  "NewPwd": "sample string 2",
  "ReNewPwd": "sample string 3"
}

application/xml, text/xml

Sample:
<PwdData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YII.ZXY.Model.Mobile.Form">
  <_x003C_NewPwd_x003E_k__BackingField>sample string 2</_x003C_NewPwd_x003E_k__BackingField>
  <_x003C_OldPwd_x003E_k__BackingField>sample string 1</_x003C_OldPwd_x003E_k__BackingField>
  <_x003C_ReNewPwd_x003E_k__BackingField>sample string 3</_x003C_ReNewPwd_x003E_k__BackingField>
</PwdData>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Data": {},
  "Sound": 2,
  "Code": 3,
  "Msg": "sample string 4"
}