The POST method requests a URL using the POST method. Use the Content or ContentToFile property to return the contents of the request.
Syntax
POST(URL, formData)
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") %>
formData = "name=oklahoma&password=dannyboy&numDays=90"
result = OCXHttp.POST("http://www.flicks.com/scripts/debug.asp", formData)
%>
<% If "" = result Then %>
Succesfully requested file.
<% Else %>
Could not request file because: <%= result %>
<% End If %>
Notes
Applies To