POST api/notifications/ValidateCaptchaUserToken

This method will validate catcha user token received from the client

Request Information

URI Parameters

None.

Body Parameters

Instance of

CaptchaBindingModel
NameDescriptionTypeAdditional information
UserResponseToken

string

Required

RemoteIp

string

Required

Request Formats

application/json, text/json

Sample:
{
  "userResponseToken": "sample string 1",
  "remoteIp": "sample string 2"
}

text/html

Sample:
{"userResponseToken":"sample string 1","remoteIp":"sample string 2"}

application/xml, text/xml

Sample:
<CaptchaBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.NotificationBinding">
  <RemoteIp>sample string 2</RemoteIp>
  <UserResponseToken>sample string 1</UserResponseToken>
</CaptchaBindingModel>

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

Response Information

Resource Description

True/False

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>