场景:
影视分发:影院客户端向管理平台发起取任务的操作,取任务接口getDispatchTask,为JSON格式的POST请求
Action()
{
web_custom_request("getdispatch",
"URL=http://rct.chinanetcenter.com:60009/rctItfAgent/dispatch/getDispatchTask", //请求的目的地址
"Method=POST", //POST请求
"Resource=0",
"Referer=",
"mode=HTTP",
"EncType=application/json", //返回JSON格式
"Body={\"hcode\":\"RCT_DISPATCH1464498178829230207\"}", //提交的JSON请求
LAST);
return ;
}