SMS API: ASP Code

Overview

The following ASP function communicates with our server, makes an HTTP request and then returns our response.

To use this function:

  1. Save it in a location that can be accessed by your ASP script.
  2. Prepare the request, ensuring that individual values have been urlencoded.
  3. Call the function like this <%response = tm4b(url, request_data)%>.

MSXML2

<%
Set api = Server.CreateObject("MSXML2.ServerXMLHTTP")
Public Function tm4b(url, request_data)
api.open "POST", url, False
api.setRequestHeader "Content-Type","application/x-www-form-urlencoded"
api.send request_data
tm4b = api.responseText
Set api = nothing
End Function
%>
asp and sms
asp sender sms web
asp sms support
© 2003 - 2008 SMS-Comms UK Ltd. | Service Agreement
|SEND SMS|RECEIVE SMS|SMS ONLINE|SMS API|RESOURCES|
Contact Us Client Login Register Online