code: private function http($method, $host, $path, array $parameters, $json)
      {
          $this->resetLastResponse();
          $this->resetAttemptsNumber();
          $url = sprintf('%s/%s/%s.json', $host, self::API_VERSION, $path);
          $this->response->setApiPath($path);
          if (!$json) {
              $parameters = $this->cleanUpParameters($parameters);
          }
          return $this->makeRequests($url, $method, $parameters, $json);
      }
docs: @param string $method
  @param string $host
  @param string $path
  @param array  $parameters
  @param bool   $json
  
  @return array|object