View Full Version : cURL and XML
NancyJ
01-18-2008, 04:30 PM
Is there an asp version of cURL in asp? ie. I need to send an SSL POST request to an external url (HSBC) and receive an xml response back and then process it.
I'm putting together a feasibility study for a client who is currently using an asp windows server. They want to start processing credit card data using HSBC's API which means I need to send ssl post data and process the xml data returned. If this is going to be not possible or be too much of a pain, they're going to move to a linux server. I need to determine which would be the best option
oesxyl
01-18-2008, 04:44 PM
Is there an asp version of cURL in asp? ie. I need to send an SSL POST request to an external url (HSBC) and receive an xml response back and then process it.
I'm putting together a feasibility study for a client who is currently using an asp windows server. They want to start processing credit card data using HSBC's API which means I need to send ssl post data and process the xml data returned. If this is going to be not possible or be too much of a pain, they're going to move to a linux server. I need to determine which would be the best option
I don't know anything about asp, but as you can see in the right side of
the page of this link:
http://curl.haxx.se/libcurl/
don't seems to be any such binding.
I hope this help.
best regards
NancyJ
01-18-2008, 07:00 PM
I know there is no cURL for asp - what I'm asking is if there is something else that does the same thing - I can't google it when I don't know what its called.
I know .net has WebRequest but this is asp 'classic'
Whatever Jr.
01-22-2008, 09:02 AM
Depends on the xml response you recieve. Maybe SOAP will work for you.
HTH, Tom
shyam
01-22-2008, 01:17 PM
you could try using ServerXMLHTTPRequest (http://msdn2.microsoft.com/en-us/library/ms766431(VS.85).aspx)
http://msdn2.microsoft.com/en-us/library/ms766431(VS.85).aspx looks quite similar to the XMLHttpRequrest
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.