web_url()(用于get請求)
web_url(www.abc.com, //這是展現(xiàn)在tree視圖中的名字,不可刪
"URL=http://www.abc.com/",//重要,不可刪
?"TargetFrame=", //無意義,可刪
"TargetBrowser=Mercury Technologies", //無意義,可刪
"Resource=0", //是否是資源文件,可刪
"RecContentType=text/html", //定義返回值的contenttype,無意義,可刪
"Snapshot=t1.inf",//快照,錄制的時候會看到,無意義,可刪
?"Mode=HTML", //重要,不可刪
LAST ); //重要,不可刪
?
重要不可刪除的字段:
web_url(www.abc.com, //這是展現(xiàn)在tree視圖中的名字,不可刪
"URL=http://www.abc.com/",//重要,不可刪
"Mode=HTML", //重要,不可刪
?LAST ); //重要,不可刪
?
web_submit_data()(用于post請求)
重要不可刪除的字段:
web_submit_data("default.aspx",
"Action=http://lazarus/flightnet/default.aspx",
ITEMDATA,
"Name=grpType", "Value=radRoundtrip", ENDITEM,
?"Name=lstDepartingCity", "Value=DEN", ENDITEM,
LAST );
默認(rèn)Content-Type: application/x-www-form-urlencoded,若需要上傳文件,則應(yīng)該定義Content-Type:multipart/form-data
?
web_custom_request()(用于post請求,數(shù)據(jù)格式為JSON/XML)
重要不可刪除的字段:
web_custom_request("post_query.exe",
?"Method=POST",
?"URL=http://lazarus/cgi–bin/post_query.exe",
"Body=",
?LAST );