PDA

Click to See Complete Forum and Search --> : Inet Control and https


Jeff Kanel
Mar 20th, 2000, 07:54 PM
I am trying to use the Inet control to access a secured site. I am pretty sure that the problem is my headers. Could someone put some sample code for POSTing a form through an Inet control and retrieving the resulting URL text? How do I determine the correct header information to send?

Thanks!

compuGEEK
Mar 21st, 2000, 12:20 AM
GET Retrieves the file named in url.
Example:
Execute "http://www.microsoft.com" & _
"/default.htm", "GET"

HEAD Retrieves only the headers of the file named in the URL property.
Example:
Execute , "HEAD"

POST Provides additional data to support a request to the remote host.
Example:
Execute , "POST", strFormData

PUT Replaces data at the specified URL.
Example:
Execute , "PUT", "replace.htm