From 66608806e57b72c2fcfcdfeedac905b0e151ffe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 18 Nov 2020 11:32:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Client/ClientAbstracts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Client/ClientAbstracts.php b/HttpServer/Client/ClientAbstracts.php index 43077856..7b9a215e 100644 --- a/HttpServer/Client/ClientAbstracts.php +++ b/HttpServer/Client/ClientAbstracts.php @@ -149,7 +149,7 @@ abstract class ClientAbstracts extends Component implements IClient */ public function upload(string $path, array $params = []) { - return $this->request(self::OPTIONS, $path, $params); + return $this->request(self::POST, $path, $params); }