code: public function send($path, $method, $queryParams = [], $body = null, $headers = [])
      {
  
          $uri = rtrim($this->apiUrl, '/') . '/' . ltrim($path, '/');
  
          if (is_array($queryParams) && count($queryParams)) {
              $uri .= '?' . http_build_query($queryParams);
          }
  
          if (!$this->authorization) {
              throw new TransportException('Please provide authorization data');
          }
  
          $headers = array_replace($this->defaultHeaders, $headers);
  
          if ($method == self::METHOD_GET) {
              $body = null;
          }
  
          if ($this->logger) {
              $this->logger->info('Send request', [
                  'method' => $method,
                  'uri' => $uri,
                  'body' => $body,
                  'headers' => $headers,
              ]);
          }
  
          $headers['Authorization'] = $this->authorization->getAuthorizationHeader();
  
          $request = new Psr7\Request(
              $method,
              $uri,
              $headers,
              $body
          );
  
          return $this->sendRequest($request);
      }
docs: @param string $path        Название метода из api
  @param string $method      GET или POST
  @param array  $queryParams GET параметры
  @param mixed  $body
  @param array  $headers
  
  @return Psr7\Response
  @throws TransportException