Resource URL

http://sms.webadd.in/api2/send/?

Sample code: C#
Method: POST

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Net;
  4. using System.Collections.Specialized;
  5. namespace sendSMS
  6. {
  7. class sendSMS
  8. {
  9. public string sendSMS()
  10. {
  11. String message = HttpUtility.UrlEncode("This is your message");
  12. using (var wb = new WebClient())
  13. {
  14. byte[] response = wb.UploadValues("http://sms.webadd/api2/send/", new NameValueCollection()
  15. {
  16. {"username" , "youremail@address.com"},
  17. {"hash" , "Your API hash"},
  18. {"numbers" , "07735838811"},
  19. {"message" , message},
  20. {"sender" , "WEBADD"}
  21. });
  22. string result = System.Text.Encoding.UTF8.GetString(response);
  23. return result;
  24. }
  25. }
  26. }
  27. }