Fetch CAPTCHA challenge

From ePrize Developers Wiki

Jump to: navigation, search

API Home Page :: CAPTCHA

Summary

Fetch a CAPTCHA challenge to be solved by a user. This request will typically be sent from the user's browser. The CAPTCHA challenge can also be proxied from the application for display.

The CAPTCHA challenge secret is embedded in the response in a way that only humans and very smart robots can determine the secret.

Resource

/v1/{apikey}/captcha/{challenge-id}

Valid Methods

GET

Resource Arguments

Note: resource arguments are always required.

apikey: Your API Key

challenge-id: Returned after creating a CAPTCHA challenge. Typically the Location of the challenge should be used without parsing.

Parameters Required

None.



Example

Example CAPTCHA: Image:Captcha2.png


Example: Fetch a CAPTCHA Challenge

Request

Request representation: empty

Response

HTTP Status Code: 20O OK


Content-Type: image/png
Content-Length: {size}

Binary image data {size} octets in length


Example: Response if CAPTCHA does not exist

Request

Request representation: empty

Response

HTTP Status Code: 404 Not Found


None


Personal tools