You are here

public function ImportServiceInterface::jsonApiRequest in Entity Share 8.3

Performs a HTTP request on a JSON:API endpoint.

Pass the request to the injected remote manager using RuntimeImportContext data.

Parameters

string $method: HTTP method.

string $url: URL to request.

Return value

\Psr\Http\Message\ResponseInterface The response.

See also

\GuzzleHttp\ClientInterface::request()

1 method overrides ImportServiceInterface::jsonApiRequest()
ImportService::jsonApiRequest in modules/entity_share_client/src/Service/ImportService.php
Performs a HTTP request on a JSON:API endpoint.

File

modules/entity_share_client/src/Service/ImportServiceInterface.php, line 122

Class

ImportServiceInterface
Import service interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function jsonApiRequest($method, $url);