public function HttpClientInterface::post in Backup and Migrate 5.0.x
Post the given data (as a string or an array) to the given URL.
Parameters
$url:
$data:
Return value
mixed
1 method overrides HttpClientInterface::post()
- PhpCurlHttpClient::post in src/
Core/ Service/ PhpCurlHttpClient.php - Post the given data (as a string or an array) to the given URL.
File
- src/
Core/ Service/ HttpClientInterface.php, line 31
Class
- HttpClientInterface
- Interface HttpClientInterface.
Namespace
Drupal\backup_migrate\Core\ServiceCode
public function post($url, $data);