Methods Summary | ||
---|---|---|
public
|
||
public
|
#
submit( ReCaptcha\RequestParameters $params )
Submit the POST request with the specified parameters.
Implementation of |
Constants Summary | ||
---|---|---|
public
string
|
RECAPTCHA_HOST
reCAPTCHA service host.
|
#
'www.google.com'
|
public
string
|
SITE_VERIFY_PATH
|
#
'/recaptcha/api/siteverify'
|
public
string
|
BAD_REQUEST
|
#
'{"success": false, "error-codes": ["invalid-request"]}'
|
public
string
|
BAD_RESPONSE
|
#
'{"success": false, "error-codes": ["invalid-response"]}'
|