ProxyUser
Username for the Proxy Authentication.
Syntax
HTTPObject.ProxyUser
Where:
ProxyUser
is a String (read/write)
Example
This script will do a GET request and print out the return code. It sets the username and password as LanGuard_test
:
Function Main
Dim HTTPObj as Object
ip = "www.gfi.com"
port = 80
Set HTTPobj = HTTP.Connect (ip,port)
'Set up the request type
HTTPobj.GetURL("/")
HTTPobj.ProxyUser = "LanGuard_test"
HTTPobj.Proxypassword = "LanGuard_test"
'Send the GET request
HTTPResponse = HTTPobj.SendRequest ()
echo HTTPobj.Body
End Function