Resource URL

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

Sample code: ASP
Method: GET


  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <%
  5. uname = "youremail@address.com"
  6. hash = "Your API hash"
  7. address = "http://sms.webadd/api2/send/?"
  8. message = "This is your message"
  9. message = Server.urlencode(message)
  10. numbers = "917735838811"
  11. sender = "WEBADD"
  12. url = address & "username=" & uname & "&hash=" & hash & "&numbers=" & numbers & "&message=" & message & "&sender=" & sender
  13. set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
  14. xmlhttp.open "GET", url, false
  15. xmlhttp.send ""
  16. msg = xmlhttp.responseText
  17. response.write(msg)
  18. set xmlhttp = nothing
  19. %>
  20. </body>
  21. </html>