diff --git a/common/HttpClient.php b/common/HttpClient.php index a3a22d9..32f47e1 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -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' ]);