Resource URL

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

Sample code: VB.NET
Method: GET


  1. Imports System.Net
  2. Imports System.Web
  3. Imports System.Collections.Specialized
  4. Imports System.IO
  5. Imports System.Text
  6. Public Class sendSMS
  7. Public Function sendSMS()
  8. Dim uname = "youremail@address.com"
  9. Dim hash = "Your API hash"
  10. Dim message = "This is your message"
  11. Dim numbers = "917735838811"
  12. Dim strGet As String
  13. Dim sender = "WEBADD"
  14. Dim url As String = "http://sms.webadd/api2/send/?"
  15. strGet = url + "username=" + uname _
  16. + "&hash=" + hash _
  17. + "&numbers=" + numbers _
  18. + "&message=" + WebUtility.UrlEncode(message) _
  19. + "&sender=" + sender
  20. Dim webClient As New System.Net.WebClient
  21. Dim result As String = webClient.DownloadString(strGet)
  22. Console.WriteLine(result)
  23. Return result
  24. End Function
  25. End Class