Skip to content

Commit

Permalink
update Ghasedak domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenbostan authored Oct 31, 2021
1 parent 9900a55 commit 4ef41f5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/GhasedakSms.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ public static function sendSingleSMS(string $message, string $receptor, ?string
// Sending SMS Using Laravel Http Client
$send_sms = Http::withHeaders([
"apikey" => config('ghasedak-sms.api_key'),
])->asForm()->post("https://api.ghasedak.io/v2/sms/send/simple", $data_to_send);
])->asForm()->post("https://api.ghasedak.me/v2/sms/send/simple", $data_to_send);

// Return Json Response
// To Know More About All Possible Responses, Please Visit : https://ghasedak.io/docs
// To Know More About All Possible Responses, Please Visit : https://ghasedak.me/docs
return $send_sms->json();
}

Expand Down Expand Up @@ -64,10 +64,10 @@ public static function sendType1MultipleSMS(string $message, string $receptors,
// Sending SMS Using Laravel Http Client
$send_sms = Http::withHeaders([
"apikey" => config('ghasedak-sms.api_key'),
])->asForm()->post("https://api.ghasedak.io/v2/sms/send/pair", $data_to_send);
])->asForm()->post("https://api.ghasedak.me/v2/sms/send/pair", $data_to_send);

// Return Json Response
// To Know More About All Possible Responses, Please Visit : https://ghasedak.io/docs
// To Know More About All Possible Responses, Please Visit : https://ghasedak.me/docs
return $send_sms->json();
}

Expand Down Expand Up @@ -96,10 +96,10 @@ public static function sendType2MultipleSMS(string $message, string $receptors,
// Sending SMS Using Laravel Http Client
$send_sms = Http::withHeaders([
"apikey" => config('ghasedak-sms.api_key'),
])->asForm()->post("https://api.ghasedak.io/v2/sms/send/pair", $data_to_send);
])->asForm()->post("https://api.ghasedak.me/v2/sms/send/pair", $data_to_send);

// Return Json Response
// To Know More About All Possible Responses, Please Visit : https://ghasedak.io/docs
// To Know More About All Possible Responses, Please Visit : https://ghasedak.me/docs
return $send_sms->json();
}

Expand All @@ -124,10 +124,10 @@ public static function sendVoiceMessage(string $message, string $receptor, ?stri
// Sending Voice Message Using Laravel Http Client
$send_sms = Http::withHeaders([
"apikey" => config('ghasedak-sms.api_key'),
])->asForm()->post("https://api.ghasedak.io/v2/voice/send/simple", $data_to_send);
])->asForm()->post("https://api.ghasedak.me/v2/voice/send/simple", $data_to_send);

// Return Json Response
// To Know More About All Possible Responses, Please Visit : https://ghasedak.io/docs
// To Know More About All Possible Responses, Please Visit : https://ghasedak.me/docs
return $send_sms->json();
}
}

0 comments on commit 4ef41f5

Please sign in to comment.