//访问tinysoft主页
ret := PostHttp("http://tinysoft.com.cn","Hello",500,data,code);
if ret then
return array(ret,data,code);
else
return "获取失败";
结果:
范例二:指定Session ID并获取指定网页内容
//访问tinysoft主页
sid := createhttpsession();
ret := PostHttp(sid,"http://tinysoft.com.cn","Hello",500,data,code);
if ret then
return array(ret,data,code);
else
return "获取失败";