您现在的位置是:网站首页> 编程资料编程资料
SmartHTTP 简易HttpRequest类(ASP)_应用技巧_
2023-05-25
238人已围观
简介 SmartHTTP 简易HttpRequest类(ASP)_应用技巧_
最简单的调用方法:
response.write SmartHttp("http://www.baidu.com/").send().gettext()
复杂调用
set myhttp = SmartHttp("http://www.baidu.com/s","GET")
myhttp.dataset.append "wd","smarthttp"
myhttp.send()
response.write myhttp.gettext("gbk")
response.write SmartHttp("http://www.baidu.com/").send().gettext()
复杂调用
set myhttp = SmartHttp("http://www.baidu.com/s","GET")
myhttp.dataset.append "wd","smarthttp"
myhttp.send()
response.write myhttp.gettext("gbk")
复制代码 代码如下:
