mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Add call to setUrl in single requests
This commit is contained in:
@@ -101,6 +101,7 @@ class Curl
|
||||
$this->exec($ch);
|
||||
}
|
||||
} else {
|
||||
$this->setUrl($url_mixed);
|
||||
$this->setopt(CURLOPT_URL, $this->buildURL($url_mixed, $data));
|
||||
$this->setOpt(CURLOPT_CUSTOMREQUEST, 'GET');
|
||||
$this->setopt(CURLOPT_HTTPGET, true);
|
||||
|
||||
Reference in New Issue
Block a user