public function connecting($url, $params, $method)
    {
        if ($this->config === null) {
            return null;
        }
        try {
            $result = $this->client->request(
                $method,
                $url,
                [
                'auth' => [
                  $this->username,
                  $this->password,
                ],
                'form_params' => $params,
                ]
            );

            $bodyText = json_decode($result->getBody());

            return $bodyText;
        } catch (ClientException $e) {
            if ($e->hasResponse()) {
                return json_decode($e->getResponse()->getBody())->message;
            }

            return 'Cannot get backup URL.';
        }
    }