Mantemper
asked on
Convert this asp to aspx
Just converting to the asp script below to make it works with .aspx.
if possible please convert them to ASP.Net and the Visual C#
Thank you very much
if possible please convert them to ASP.Net and the Visual C#
Thank you very much
'default.asp, should be default.aspx after the conversion
<%
ToUrl= "https://www.example.com"
Keyword= "DEMO"
SubscriptionKey= "faf32341afafsa"
MyUrl = ToUrl & "?Keyword=" & Keyword& "&SubscriptionKey=" & SubscriptionKey
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "POST", MyUrl , false
xmlhttp.send ""
msg = xmlhttp.responseText
response.write(MyUrl )
response.write(msg)
set xmlhttp = nothing
%>
ASKER
I don't think .net use the MSXML2.
I am not so sure
they are using some kind of
WebRequest Class
http://msdn2.microsoft.com/en-us/library/system.net.webrequest(VS.71).aspx
I am not so sure
they are using some kind of
WebRequest Class
http://msdn2.microsoft.com/en-us/library/system.net.webrequest(VS.71).aspx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I got it.
Thank you guys
Thank you guys
this is the solution how u can use your script with MSXML2.ServerXMLHTTP
thanx