HttpBridgePostRequestMethod

Implements RequestMethod

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

final
since

3.9.0

package

Joomla CMS

Methods

__construct

Class constructor.

__construct(\Joomla\Http\Http|null http = null) : 
since

3.9.0

Arguments

http

Http|nullThe HTTP adapter

Response

mixed

submit

Submit the request with the specified parameters.

submit(\ReCaptcha\RequestParameters params) : 
since

3.9.0

Arguments

params

RequestParametersRequest parameters

Response

stringBody of the reCAPTCHA response

Constants

SITE_VERIFY_URL

URL to which requests are sent.

Value 'https://www.google.com/recaptcha/api/siteverify'
since

3.9.0

Type(s)

string

Properties

http

The HTTP adapter

since

3.9.0

Type(s)

Http