带body、请求头的,谢谢~
您是需要在预执行脚本中发送一个请求的示例吗?
apt.sendRequest({
"method":"post",
"url":"https://echo.apipost.cn/get.php",
"header":{
"content-type":"application/json"
},
"body":JSON.stringify({
"name":"xiaoming"
})},function(response) {
console.log(response);
}
);