add clear
This commit is contained in:
@@ -358,7 +358,7 @@ class HttpClient
|
||||
echo $host . ':' . $this->getHostPort() . ' ' . $url . '?' . $data;
|
||||
$client->get($url . '?' . $data);
|
||||
} else if (strtolower($this->method) == self::PUT) {
|
||||
$client->setMethod('put');
|
||||
$client->setMethod('PUT');
|
||||
$client->setHeaders([
|
||||
'Content-Type' => 'application/json'
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user