You are here

public function RequestMethod::submit in hCaptcha 8

Submit the request with the specified parameters.

Parameters

string $url:

array $params Request parameters:

Return value

\stdClass Body of the hCaptcha response

1 method overrides RequestMethod::submit()
Drupal8Post::submit in src/HCaptcha/Drupal8Post.php
Submit the POST request with the specified parameters.

File

src/HCaptcha/RequestMethod.php, line 15

Class

RequestMethod

Namespace

Drupal\hcaptcha\HCaptcha

Code

public function submit($url, array $params);