Authorization: Bearer ********************[
{
"host": "10.23.16.50",
"port": 12345,
"protocol": "UDP"
},
{
"host": "10.23.16.50",
"port": 12346,
"protocol": "UDP"
}
]curl --location --request POST '/nettools/listening-ports/actions/start' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"host": "10.23.16.50",
"port": 12345,
"protocol": "UDP"
},
{
"host": "10.23.16.50",
"port": 12346,
"protocol": "UDP"
}
]'{
"failedPorts": [
{
"failureMessage": "10.23.16.50连接超时 ,请检查网络情况或IP输入是否正确",
"listeningPort": {
"host": "10.23.16.50",
"port": 12345,
"protocol": "UDP"
}
},
{
"failureMessage": "10.23.16.50 主机连接异常或主机工具缺失",
"listeningPort": {
"host": "10.23.16.50",
"port": 12346,
"protocol": "UDP"
}
}
],
"successPorts": [
{
"host": "10.23.16.51",
"port": 12345,
"protocol": "UDP"
},
{
"host": "10.23.16.51",
"port": 12346,
"protocol": "UDP"
}
]
}