Modified SMS HTTP API call

This commit is contained in:
Marko Jovanovic 2025-10-06 08:54:39 +02:00
parent 527a042785
commit 5526d03ec0

View File

@ -75,7 +75,7 @@ class ContactUncontactedCommand extends Command
// 3. Contact the HTTP REST API // 3. Contact the HTTP REST API
try { try {
$response = $this->httpClient->request('GET', self::$apiEndpoint, [ $response = $this->httpClient->request('POST', self::$apiEndpoint, [
'headers' => [ 'headers' => [
'X-CM-PRODUCTTOKEN' => $this->sms_gateway_api_key, 'X-CM-PRODUCTTOKEN' => $this->sms_gateway_api_key,
'Accept' => 'application/json', 'Accept' => 'application/json',