diff --git a/src/Core/ApiClient.php b/src/Core/ApiClient.php index 29e545c..4c91338 100644 --- a/src/Core/ApiClient.php +++ b/src/Core/ApiClient.php @@ -77,7 +77,7 @@ public function sendRequest(string $method, string $uri, array $data = []): arra $method = strtolower($method); $url = $this->buildFullUri($uri); if (strtolower($method) === 'get') { - $url .= http_build_query($data); + $url .= '?' . http_build_query($data); } $request = new Request($method, $url, ['Content-Type' => 'application/json']); if ($request->getMethod() !== 'get') {