%PDF- %PDF-
Direktori : /home/ugotscom/public_html/test/ |
Current File : /home/ugotscom/public_html/test/sms.php |
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL => "http://api.unifiedbuzz.com/sms/insent", CURLOPT_POST => 1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_HTTPHEADER => array('X-API-Key:51084c5dc1b86b3c5a780182301be0eb'), CURLOPT_POSTFIELDS => array( 'entity_id' => '1001497350000052702', 'template_id' => '1407163170128791228', 'mobile' => '9746512924', 'text' => 'Your OTP For Verification is 444.Please Use this OTP on Karetakers.in.', 'type' => '1', 'sender' => 'KRTAKR', 'format' => 'json'))); $response = curl_exec($curl); curl_close($curl); print_r($response); ?>