From c88016478993a1ee5b5fcdba0156605c00819b22 Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Wed, 11 Jan 2023 09:59:36 -0500 Subject: [PATCH] Fix http method --- src/Api/CpeApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/CpeApi.php b/src/Api/CpeApi.php index 7cc8b20..9308b5d 100644 --- a/src/Api/CpeApi.php +++ b/src/Api/CpeApi.php @@ -411,7 +411,7 @@ public function consultarEnvioRequest($num_ticket, string $contentType = self::c $operationHost = $this->config->getHost(); $query = ObjectSerializer::buildQuery($queryParams); return new Request( - 'POST', + 'GET', $operationHost . $resourcePath . ($query ? "?{$query}" : ''), $headers, $httpBody