diff --git a/src/Utils/HttpClient.php b/src/Utils/HttpClient.php index f24fa07b..a454f6dc 100644 --- a/src/Utils/HttpClient.php +++ b/src/Utils/HttpClient.php @@ -66,10 +66,12 @@ protected function sendGuzzle5Request($method, $url, array $headers, $payload) { $client = new Client(); - return $client->request($method, $url, [ + $request = $client->createRequest($method, $url, [ 'headers' => $headers, 'body' => $payload, ]); + + return $client->send($request); } /**