add clear
This commit is contained in:
@@ -465,7 +465,7 @@ class HttpClient
|
|||||||
}
|
}
|
||||||
echo $url . PHP_EOL;
|
echo $url . PHP_EOL;
|
||||||
if ($this->method != self::GET) {
|
if ($this->method != self::GET) {
|
||||||
var_dump($this->_data);
|
var_dump($this->_data, $data);
|
||||||
if (!empty($this->_data)) {
|
if (!empty($this->_data)) {
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_data);
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_data);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user