|
写的脚本如下
Action()
{
//web_reg_save_param("user_tags",
//"LB=user_tags\":[\"",
//"RB=\"]}",
//LAST);
web_custom_request("web_custom_request",
"URL=http://61.144.19.120:9088/gzitmsrest/service/getDriver",
"Method=POST",
"RecContentType=application/json",
"Mode=HTTP",
"EncType=application/json",
"Body={\"id\":\"getDriver2012032400000001\",\"clientId\":\"F0-DE-F1-98-67-68\",\"systemNo\":\"02\",\"time\":\"20130117183736\",\"signInfo\":\"8FE1B79D58040DB6B8A77FD4408E593A\",\"body\":{\"dabh\":\"440170549665\",\"sfzmhm\":\"420111196905265514\"}}",
LAST);
return 0;
//if (atoi(lr_eval_string("{user_tags}"))==0)
//lr_output_message("user_tags:%s,succeed!",(lr_eval_string("{user_tags}")));
//else if(atoi(lr_eval_string("{user_tags}"))==1)
//lr_output_message("user_tags:%s,failed!",(lr_eval_string("{user_tags}")));
//else
//lr_output_message("user_tags:%s,unknow!",(lr_eval_string("{user_tags}")));
}
运行后出现以下错误
Action.c(8): HTTP/1.1 500 Internal Server Error\r\n
Action.c(8): <html><head><title>Apache Tomcat/7.0.33 - Error report</title><style><!--H1 {font-family:T
Action.c(8): 错误 -26612: 对于“http://61.144.19.120:9088/gzitmsrest/service/getDriver”,HTTP 状态代码=500 (Internal Server Error) [MsgId: MERR-26612]
我使用别的json验证工具是可以的,求大神解答下,郁闷了。。 |
|