GET v1/captcha/validate?mobile={mobile}&code={code}
判断验证码是否正确,正确则返回区域Id和密钥
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mobile |
手机号码 |
string |
Required |
| code |
验证码 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResultOfDictionaryOfStringAndObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Dictionary of string [key] and Object [value] |
None. |
|
| ResultCode | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"sample string 1": {},
"sample string 3": {}
},
"ResultCode": "sample string 1",
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiResultOfArrayOfKeyValueOfstringanyTypeuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
<ErrorMessage>sample string 2</ErrorMessage>
<ResultCode>sample string 1</ResultCode>
<Result xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Result>
</ApiResultOfArrayOfKeyValueOfstringanyTypeuHEDJ7Dj>