xxxxxxxxxx
请求URL:http://localhost:9999/heathMonitor/agentList
请求方式:POST
请求参数(Content-Type:application/json):
{
"wgToken":"65d05df102851c6535322e73b2f99c06"
}
返回结果:
{
"msg":"",
"code":"0",
"data":[
{
"resKeyword":"",
"method":"GET",
"appName":"baidu",
"active":"1",
"resTimes":213,
"resNoKeyword":"",
"createTime":1640613103000,
"heathStatus":"200",
"id":"1475387703481729024",
"heathUrl":"https://www.wgstart.com/",
"postStr":""
}
]
}
xxxxxxxxxx
请求参数(Content-Type:application/json):
{
"wgToken":"必填,server/config/application.yml里的wgToken配置项的md5加密字符串,大小写均可"
}
返回结果:
{
"msg":"错误信息",
"code":"0成功1错误",
"data":[
{
"resKeyword":"响应内容需包含的关键字",
"method":"接口请求方式,GET或POST",
"appName":"接口名称",
"active":"监控状态,1监控中,2已停止",
"resTimes":"响应时间,毫秒",
"resNoKeyword":"响应内容不能包含的关键字",
"createTime":"添加时间,毫秒",
"heathStatus":"当前状态码",
"id":"1475387703481729024",
"heathUrl":"接口url",
"postStr":"POST接口提交内容"
}
]
}