You are here

public function PardotClientInterface::executePardotOperation in Pardot Integration 2.x

Execute the Pardot API operation.

Parameters

string $url: Endpoint URL.

array $request_data: Data to pass into the request.

bool $retry: Flag to know if this is a retry or not.

string $method: (Optional) Request method to use. Defaults to POST.

Return value

mixed Request result. Usually an array, or FALSE on error.

1 method overrides PardotClientInterface::executePardotOperation()
PardotClient::executePardotOperation in src/Service/PardotClient.php
Execute the Pardot API operation.

File

src/Service/PardotClientInterface.php, line 61

Class

PardotClientInterface
Interface for the Pardot API service.

Namespace

Drupal\pardot\Service

Code

public function executePardotOperation(string $url, array $request_data, $retry, $method = 'POST');