class HttpBridgePostRequestMethod implements RequestMethod

Bridges the Joomla! HTTP API to the Google Recaptcha RequestMethod interface for a POST request.

Constants

SITE_VERIFY_URL

URL to which requests are sent.

Methods

__construct( Http $http = null)

Class constructor.

string
submit( RequestParameters $params)

Submit the request with the specified parameters.

Details

__construct( Http $http = null)

Class constructor.

Parameters

Http $http The HTTP adapter

string submit( RequestParameters $params)

Submit the request with the specified parameters.

Parameters

RequestParameters $params Request parameters

Return Value

string Body of the reCAPTCHA response