From 14fee19c4642dbb6680784b68b45e88f7714611f Mon Sep 17 00:00:00 2001 From: Pavel Chernigov Date: Sat, 13 Apr 2024 10:34:48 +0800 Subject: [PATCH] =?UTF-8?q?POST=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=20?= =?UTF-8?q?=D0=B2=D1=81=D1=82=D0=B0=D0=B2=D0=BB=D1=8F=D0=BB=20=D1=82=D0=B5?= =?UTF-8?q?=D0=BB=D0=BE=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0=20?= =?UTF-8?q?=D0=B2=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/VK/Client/VKApiRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VK/Client/VKApiRequest.php b/src/VK/Client/VKApiRequest.php index f6dbd17..e322e01 100755 --- a/src/VK/Client/VKApiRequest.php +++ b/src/VK/Client/VKApiRequest.php @@ -87,7 +87,7 @@ public function post(string $method, string $access_token, array $params = array } try { - $response = $this->client->post("{$this->host}/{$method}?" . http_build_query($params)); + $response = $this->client->post("{$this->host}/{$method}",['form_params' => $params]); } catch (GuzzleException $exception) { throw new VKClientException($exception); }