diff --git a/src/GhasedakSms.php b/src/GhasedakSms.php index 59a10ab..3c5252f 100644 --- a/src/GhasedakSms.php +++ b/src/GhasedakSms.php @@ -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(); } @@ -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(); } @@ -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(); } @@ -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(); } }