|
Action()
{
char creq[2048];
strcpy(creq, "Body=");
strcat(creq, "user={USER}");
strcat(creq, "&type=test");
strcat(creq, "&data=");
strcat(creq, "MzAwMDk0DQo2MDAwMDANCjYwMDAwNA0KNjAwMDA1DQo2MDAwMDYNCjYwMDAwNw0KNjAwMDA4DQo2MDAwMDkNCjYwMDAxMA0KNjAwMDExDQo2MDAwMTINCjYwMDAxNQ0KNjAwMDE2DQo2MDAwMTcNCjYwMDAxOA0KNjAwMDE5DQo2MDAwMjANCjYwMDAyMQ0KNjAwMDIyDQo2MDAwMjYNCjYwMDAyNw0KNjAwMDI4DQo2MDAwMjkNCjYwMDAzMA0KNjAwMDMxDQo2MDAwMzM=");
lr_output_message (creq);
web_add_auto_header("Etag", "0123456789");
web_custom_request(
"set.ashx",
"Method=POST",
"URL=http://192.168.3.188:8088/set.ashx",
creq,
LAST
);
不知道为什么会提示我语法错误,把web_custom_request函数中的creq注释掉就好了。是不是不能这样用变量?如果不能用的话怎么修改才是好的?请各位大侠指导指导 |
|