curl "http://127.0.0.1:22999/api/refresh_ips" -H "Content-Type: application/json" -d '{"zone":"ZONE","ips":["10.0.0.1"]}'
{
"ips": [
{
"ip":"10.0.0.1",
"maxmind":"us"
},
{
"ip":"20.0.0.1",
"maxmind":"us"
}
]
}
curl "http://127.0.0.1:22999/api/refresh_ips" -H "Content-Type: application/json" -d '{"zone":"ZONE","ips":["10.0.0.1"]}'
{
"ips": [
{
"ip":"10.0.0.1",
"maxmind":"us"
},
{
"ip":"20.0.0.1",
"maxmind":"us"
}
]
}
POST
/api/refresh_ips
POST
bodyips=["ip1","ip2"]
vips=["gip1","gip2"] [array]
{
"ips": [
{
"ip":"10.0.0.1",
"maxmind":"us"
},
{
"ip":"20.0.0.1",
"maxmind":"us"
}
]
}
curl "http://127.0.0.1:22999/api/refresh_ips" -H "Content-Type: application/json" -d '{"zone":"ZONE","ips":["10.0.0.1"]}'
Was this page helpful?