P
Pablo
Dear all,
I am trying to do a piece of code for my work but I can´t figure where
to start from. I need to create a request to a particular URL with some
parameters that a user gives me and I will send this request to an
external server that in return will give me an XML file.
The question is, how do I create such request and how do I get informed
about the response?
I have an example in ASP, but I dont what kind of classes would help me
out.
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xurl="http://externalserver.example.com/?a=fetch&partnerid=" &
partnerid & "&amount=" & bedrag & "&country=" & var1
xml.Open "GET", xurl, False
xml.Send ""
HTTPReturnCode = xml.status
x_Result = xml.ResponseText 'this is my XML response file
Could anyone give me some pointers?
Thanks,
P.
I am trying to do a piece of code for my work but I can´t figure where
to start from. I need to create a request to a particular URL with some
parameters that a user gives me and I will send this request to an
external server that in return will give me an XML file.
The question is, how do I create such request and how do I get informed
about the response?
I have an example in ASP, but I dont what kind of classes would help me
out.
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xurl="http://externalserver.example.com/?a=fetch&partnerid=" &
partnerid & "&amount=" & bedrag & "&country=" & var1
xml.Open "GET", xurl, False
xml.Send ""
HTTPReturnCode = xml.status
x_Result = xml.ResponseText 'this is my XML response file
Could anyone give me some pointers?
Thanks,
P.