Fetch CAPTCHA challenge

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
Current revision (20:32, 7 April 2011) (edit) (undo)
 
(One intermediate revision not shown.)
Line 24: Line 24:
Content-Length: {size}
Content-Length: {size}
-
''Binary image data {size} octets in length''
+
Binary image data {size} octets in length
}}
}}
Line 31: Line 31:
|request=Request representation: empty
|request=Request representation: empty
|responsecode=404 Not Found
|responsecode=404 Not Found
-
|response=
+
|response=None
}}
}}

Current revision

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