51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 2365|回复: 3
打印 上一主题 下一主题

请教如何得到web server的response

[复制链接]

该用户从未签到

1#
发表于 2006-2-6 14:25:50 | 显示全部楼层
我这样写:
        char str[20];
        web_reg_save_param("str",
                "LB/IC=<html>",
                "RB/IC=</html>",
                "ord=ALL",
                LAST);
总是提示“No match found for the requested parameter "str". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size”
不知道这是什么意思?
回复 支持 反对

使用道具 举报

该用户从未签到

2#
发表于 2006-2-6 14:28:37 | 显示全部楼层
根据提示在前边加上web_set_max_html_param_len("2048");就好了,不明白什么意思
但是str中是空的:(
我的目的是让str记录下来返回的网页的所有内容

[ 本帖最后由 thefirstred 于 2006-2-6 14:45 编辑 ]
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-5 07:11 , Processed in 0.061603 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表