From 5526d03ec0d84629be2591c4c4df993ed0e6cd31 Mon Sep 17 00:00:00 2001 From: Marko Jovanovic Date: Mon, 6 Oct 2025 08:54:39 +0200 Subject: [PATCH] Modified SMS HTTP API call --- src/Command/ContactUncontactedCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/ContactUncontactedCommand.php b/src/Command/ContactUncontactedCommand.php index 6158d39..cdc39ab 100644 --- a/src/Command/ContactUncontactedCommand.php +++ b/src/Command/ContactUncontactedCommand.php @@ -75,7 +75,7 @@ class ContactUncontactedCommand extends Command // 3. Contact the HTTP REST API try { - $response = $this->httpClient->request('GET', self::$apiEndpoint, [ + $response = $this->httpClient->request('POST', self::$apiEndpoint, [ 'headers' => [ 'X-CM-PRODUCTTOKEN' => $this->sms_gateway_api_key, 'Accept' => 'application/json',