You are here

public function HttpClientInterface::post in Backup and Migrate 8.4

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 lib/backup_migrate_core/src/Service/PhpCurlHttpClient.php
Post the given data (as a string or an array) to the given URL.

File

lib/backup_migrate_core/src/Service/HTTPClientInterface.php, line 31

Class

HttpClientInterface
Interface HttpClientInterface.

Namespace

BackupMigrate\Core\Service

Code

public function post($url, $data);