Bulk SMS service RRS feed

  • Question

  • I purchase this bulk sms service from airtel , but i am confused how to achieved now.

    Airtel has provided these information to us:

    Trans Username: username

    Pass: password

    They also provided some JSON Which is provied below:

    URL: http://digimate.airtel.in:00000/BULK_API/InstantJsonPush

    "MESSAGE":"patch test 11",

    Please help me how to achieve this now,how to pass parameter and where , what will be the function content , I dont know anything ,Using this information suggest me 

    Note : Here i changed some values like user name password etc .


    Shiv Sharma

    Thursday, April 23, 2020 3:52 PM

All replies

  • try with the below same code, HTTP API SMS gateway in C#.

    using System;
    using System.IO;
    using System.Net;
    using System.Text;
    namespace SMSGateway
        class Program
            static void Main(string[] args)
                const string userId = "UserName";
                const string password = "Password";
                const string phoneNo = "Enter Mobile Number";
                const string serviceId = "WebSMS";
                const string message = "Test SMS From bulksms";
                const string url = "http://bulksms.w2wts.com/API_SendSMS.aspx?User=" + userId + "&passwd= " + password + "&mobilenumber=" + phoneNo + "&message=" + message + "&sid=" + serviceId + "&mtype=N&DR=N";
                string response = SmsAlerts.GetResponse(url);
        public class SmsAlerts    {
            public static string GetResponse(string url)
                var request = (HttpWebRequest)WebRequest.Create(url);
                request.MaximumAutomaticRedirections = 4;
                request.Credentials = CredentialCache.DefaultCredentials;
                var response = (HttpWebResponse)request.GetResponse();
                Stream receiveStream = response.GetResponseStream();
                var readStream = new StreamReader(receiveStream, Encoding.UTF8);
                string responseStatus = readStream.ReadToEnd();
                return responseStatus;

    Below article for your reference:


    Thanks & Regards,

    sharath aluri

    Thursday, April 23, 2020 5:11 PM
  • Dear sharath aluri,

    Thanks for replying,The above code is in C# (server side code), Can you please tell me some client side code? 

    Shiv Sharma

    Friday, April 24, 2020 5:18 AM