add clear
This commit is contained in:
@@ -352,7 +352,8 @@ class HttpClient
|
||||
$data = json_encode($data, JSON_UNESCAPED_UNICODE);
|
||||
}
|
||||
$client->setData($data);
|
||||
$client->body = $client->execute($url);
|
||||
$execute = $client->execute($url);
|
||||
var_dump($execute);
|
||||
} else {
|
||||
echo $host . ':' . $this->getHostPort() . ' ' . $url;
|
||||
$client->post($url, $data);
|
||||
|
||||
Reference in New Issue
Block a user