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); }