Modified SMS HTTP API call
This commit is contained in:
parent
527a042785
commit
5526d03ec0
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user