code: public function request(string $method, array $query = [], string $httpMethod = HttpInterface::METHOD_GET)
      {
          $uri = $this->getApiEndpoint($method);
          $get = HttpInterface::METHOD_GET === $httpMethod ? $query : null;
          $post = HttpInterface::METHOD_GET !== $httpMethod ? $query : null;
          $headers = null !== $this->accessToken ? [HttpInterface::HEADER_AUTHORIZATION => 'Bearer '.$this->accessToken] : null;
  
          try {
              return $this->httpClient->requestJson($httpMethod, $uri, $get, $post, null, $headers);
          } catch (GuzzleException $e) {
              throw $this->handleApiException($e);
          }
      }
docs: {@inheritdoc}
  
  @see https://tools.ietf.org/html/rfc6750#section-2.1