The GET method requests a URL using the GET method. Use the Content or ContentToFile property to return the contents of the request.
Syntax
GET(URL)
Parameters
Return Values
Empty if the URL is successfully requested, or an error message.
Example
The following requests a URL:
<% Set OCXHttp = Server.CreateObject("OCXHTTP.OCXHttpCtrl.1") %>
result = OCXHttp.GET("http://www.flicks.com/scripts/debug.asp")
%>
<% If "" = result Then %>
Succesfully requested file.
<% Else %>
Could not request file because: <%= result %>
<% End If %>
Notes
Applies To