//HTTP的POST 用法示例
import inet.http
import win
import process;

//声明HTTP对象
	http = inet.http()
//提交数据用法
	str,errmsg = http.down("http://www.ecranesoft.com/ape/test/post.asp" ,"username=ecranesoft&password=12345234" );
	http.close();//释放资源

if(str){//如果提交成功则保存到指定文件
	string.save("/post.txt",str )
	process.execute( io.fullpath(  "/post.txt" )   )//执行c:\post.txt文件
}
//否则输出错误信息
else{
 	 win.msgbox(errmsg)
}
