Click here to Skip to main content
15,936,337 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
can some one help me in integration of recharge api?
Posted

1 solution

According to API Documentation[^], send SMS having below format
Quote:
http://jolo.in/apisms/send.php?username=username&password=password
&senderid=senderid&mobile=number&text=message

what you can do is :
C#
using (var client = new WebClient())
{
    // dummy data, please change them
    var username = "username";
    var password= "password";
    var senderid ="someid";
    var mobile="265555555";
    var text="text";
    var result = client.DownloadString(string.Format("http://jolo.in/apisms/send.php?username={0}&password={1}
&senderid={2}&mobile={3}&text={4}", username, password,senderid,mobile,text));
    Console.WriteLine(result);
}
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900