I am using webaroo api for sending message, I am new in this field, please guide me how to use this api to send message. Here is the api :-
<?php
$method = 'gupshup.getPublicStream';
$from = '9749633368';
$to = '9749633368';
$skipadult=true;
$url = "http://api.smsgupshup.com/GupshupAPI/rest?skipadult=$skipadult&from=$from
&range=$to&method=$method&v=1.0&format=xml";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$curl_scraped_page = curl_exec($ch);
curl_close($ch);
echo $curl_scraped_page;
?>