HTTP GET Request, ASP – I’m lost!

Your code should look like this:- Function GetTextFromUrl(url) Dim oXMLHTTP Dim strStatusTest Set oXMLHTTP = CreateObject(“MSXML2.ServerXMLHTTP.3.0”) oXMLHTTP.Open “GET”, url, False oXMLHTTP.Send If oXMLHTTP.Status = 200 Then GetTextFromUrl = oXMLHTTP.responseText End If End Function Dim sResult : sResult = GetTextFromUrl(“http://www.certigo.com/demo/request.asp”) Note use ServerXMLHTTP from within ASP, the XMLHTTP component is designed for client side usage and … Read more

I have already enabled classic asp support on IIS for windows 7, and configured IIS web for classic asp,Yet .asp page is not being displayed? [closed]

It possible that you haven’t got Classic ASP support installed in IIS. To do this in Windows 7 follow the steps below; How to enable Classic ASP support on IIS for Windows 7 Installing Classic ASP support Goto Control Panel -> Programs and Features Select from the left navigation bar From the Windows Features dialog … Read more

Building a COM interop library for ASP Classic using 4.0 framework and Visual Studio 2010

It should be fairly straightforward to get a basic .NET assembly exposed to COM – I’ve never tried the COM Class project template, so this is the way I’ve managed it in the past: Create a new (bog standard) .NET class library using C# or VB. Define a COM interface (replace GUIDs with your own): … Read more

Providing authentication info via msxml2.ServerXMLHTTP

Try http.Open “GET”, vurl, False, “yourusername”, “yourpassword” I don’t know if this works on justgiving, but it does with the Bing API Also, this question may be relevant XmlHttp Request Basic Authentication Issue Edit – using Response.ContentType and Msxml2.ServerXMLHTTP.6.0 vurl = “https://api.justgiving.com/API_KEY/v1/account” Set http = Server.CreateObject(“msxml2.ServerXMLHTTP.6.0”) http.Open “GET”, vurl, False, “username”, “pwd” http.setTimeouts 5000, 5000, … Read more