diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index b40a582..b6cfa6f 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -505,6 +505,8 @@ class HttpClient $client->setHeaders($this->header); } + var_dump($this->header); + $client->setMethod(strtoupper($this->method)); if (strtolower($this->method) == self::GET && !empty($data)) { $url .= '?' . $data;