public function createUrl()
    {
        $curlUrl = $this->url . '?';

        foreach ($this->params as $key => $value) {
            $curlUrl .= $key . '=' . $value;
            $curlUrl .= '&';
        }

        return $curlUrl;
    }