The line call is like this: ?ip=123.123.123.123 (Optional) sh=www. domain 13.com (Looks good but not required) srp=default.asp (Required) Script_Name sqs=Topic_1=132+8293829+whatever_2 (Required) keyed=XYZ (Required)
That's all the call has to send. The API will reply only with a status code and no return data for now.
Here is a snip of my code to get you on the same side of the road with me. This is what I need in .Net, Java and PHP. Finish out the Response Call if you would like but the system really doesn't require anything more than what is seen as long as it works.
urlA = "http://www. 123xyz . com/myapi.asp" urlB = "?ip="&ipAddress&"&sh="&Domain&"&srp="&Page&"&sqs= "&Query&"&keyed="&APIKey&"" urlA = urlA & urlB Set xmlObj = Server.CreateObject("MSXML2.FreeThreadedDOMDocumen t") xmlObj.async = False xmlObj.setProperty "ServerHTTPRequest", True xmlObj.Load(urlA) If xmlObj.parseError.errorCode <> 0 Then Er= Er & "Ugh, service is temporarily unavailable <em>(" _ & xmlObj.parseError.reason&")</em><br />"&urlA&"<br />" Call Sendto(Er) End If Set xmlList = xmlObj.getElementsByTagName("notrequired") (sets up a return optional) Set xmlObj = Nothing
If you are interested drop me a line and we can setup the connection and try things out.
I have an online Demo setup but I'm not sure it will add to anything that I have posted here.
Computer, Network, Wireless, Microwave, RF Communications Repair and Service Location: Baton Rouge, Gonzales, Livingston, Port Vincent, Walker, Denham Springs Louisiana and the surrounding Bayou areas. Call: 225-802-9296 Hours are 9AM to 6PM Monday - Friday. Saturday by Appointment only.