Example: web_url

Example 1 – Send an HTTP GET request to ABC's home page

web_url("www.abc.com",
    "URL=http://www.abc.com/",
    "TargetFrame=", 
    "TargetBrowser=ABC Technologies",
    "Resource=0",
    "RecContentType=text/html",
    "Snapshot=t1.inf",
    "Mode=HTML",
    LAST );

Example 2 – Send a HTTP request with a referrer page

web_url("Hit the Slopes and Save",
    "URL=http://www.saleserver.com/American?BV_EngineID=
    ..fm_ski_sale_fall00guest.html",
    "TargetFrame=Main",
    "Resource=0",
    "RecContentType=text/html",
    "Referer=http://www.saleserver.com/American?BV_Operation=
    Dyn_Frame&..main–guest.tmpl",     "Snapshot=t3.inf",     "Mode=HTML",     LAST );

Example 3– Download a game

web_url("Games",
    "URL=ftp://joe:secret@mygames.com/games/archive/loderunner.exe",
    "FtpAscii=1",
    LAST );

Example 4– Login to Secure Site

web_url("Login",
    "URL=https://secure.computing.com/scripts/login.asp?
    user=(username)&session={ssid}",     "RecContentType=text/html", //Expected content–type