add clear
This commit is contained in:
@@ -692,8 +692,10 @@ class HttpClient
|
||||
}
|
||||
if ($this->method === self::POST) {
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
if (!is_string($data)) {
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->mergeParams($data));
|
||||
}
|
||||
}
|
||||
|
||||
$output = curl_exec($ch);
|
||||
if ($output === false) {
|
||||
|
||||
Reference in New Issue
Block a user