芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/lavishbdlifestyle.com/app/Services/OTP/Sparrow.php
env('SPARROW_TOKEN'), "from" => env('MESSGAE_FROM'), "to" => str_replace([' ','-'], "", $to), "text" => $text )); # Make the call using API. $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $args); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Response $response = curl_exec($ch); curl_close($ch); return $response; } }