public function ZoomApiClientInterface::request in Zoom API 2.0.x
Same name and namespace in other branches
- 8 src/ZoomApiClientInterface.php \Drupal\zoomapi\ZoomApiClientInterface::request()
Utilizes Drupal's httpClient to connect to the Zoom API.
Info: https://marketplace.zoom.us/docs/api-reference/introduction Currently just supports JWT authentication.
Parameters
string $method: get, post, patch, delete, etc. See Guzzle documentation.
string $endpoint: The Zoom API endpoint (ex. users)
array $query: Any Query Parameters defined in the API spec.
array $body: Array that will get converted to JSON for some requests.
Return value
object \GuzzleHttp\Psr7\Response body
1 method overrides ZoomApiClientInterface::request()
- ZoomApiClient::request in src/
Client/ ZoomApiClient.php - Utilizes Drupal's httpClient to connect to the Zoom API.
File
- src/
ZoomApiClientInterface.php, line 28
Class
- ZoomApiClientInterface
- Interface ZoomApiClientInterface.
Namespace
Drupal\zoomapiCode
public function request(string $method, string $endpoint, array $query = [], array $body = []);