I am trying to call an asp page with request parameters from an asp in my application. Both asp pages reside on the same server. I tried this with MSXML2.ServerXMLHTTP but it did not work. Some code is below
Function URLGet(URL)
Set Http = CreateObject("MSXML2.ServerXMLHTTP")
Http.Open "GET",URL,True
Http.Send
pagestatus = Http.status
if pagestatus<>"200" then
URLGet="Error:"& pagestatus
else
' URLGet = Http.ResponseBody
URLGet = Http.responseText
end if
End Function
In this URL comes as below
/getchart.asp?Met=node1&SubMet=3232
Please tell me where I am wrong