This commit is contained in:
2020-11-18 14:21:40 +08:00
parent e945e33601
commit 3d801a3352
+1 -1
View File
@@ -65,7 +65,7 @@ class Curl extends ClientAbstracts
[$host, $isHttps, $path] = $this->matchHost($path);
$resource = $this->do(curl_init($host . $path), $host . $path, self::POST);
var_dump($params);
curl_setopt($resource, CURLOPT_SAFE_UPLOAD, true);
curl_setopt($resource, CURLOPT_POSTFIELDS, $params);
if ($isHttps !== false) {