POST api/Register/try

Request Information

URI Parameters

None.

Body Parameters

CaptchaModel
NameDescriptionTypeAdditional information
PossibleImageOptions

Dictionary of string [key] and string [value]

None.

ValidImageOption

Pair of string [key] and string [value]

None.

ValidAudioOption

Pair of string [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "possibleImageOptions": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "validImageOption": {
    "key": "sample string 1",
    "value": "sample string 2"
  },
  "validAudioOption": {
    "key": "sample string 1",
    "value": "sample string 2"
  }
}

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

Response Information

Resource Description

CaptchaResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<CaptchaResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <Message>sample string 2</Message>
</CaptchaResult>