此段代码在我的脚本中执行时成功的,但是根本没有执行我想要的删除操作,API中此处的method只有POST和GET,而改为POST或GET时,提示无法找到URL了
Action.c(126): Warning -26000: Request body (length=155) is not empty for HTTP Method=GET, for URL is "https://XXXXXX/api/private/users/self/deleteapp" (Internal ID=123)[MsgId: MWAR-26000]
Action.c(126): Error -26627: HTTP Status-Code=404 (Not Found) for "https://XXXXXX/api/private/users/self/deleteapp" [MsgId: MERR-26627]
确定哦,因为用fiddler查看的就是delete提交请求,接口文档上method那里写的也是delete,把method改为get执行错误的,下面是错误日志的作者: 地壳 时间: 2013-9-18 15:44
web_custom_request函数中Method – the form submission method: POST or GET.作者: tianlang001 时间: 2013-9-18 16:13
web_custom_request函数中Method – the form submission method: POST or GET.
地壳 发表于 2013-9-18 15:44