nginx_Mod DEL - starjun/starjun.github.io GitHub Wiki

该api接口是删除域名解析的

数据请求样式

URI: http://%ip:%port/api/v2/nginx_Mod/del

删除操作

1:删除所有域名解析

   GET/POST querystring: 
   host=all

2:删除指定域名

protocol 默认为http,当值为all,表示同时删除http和https解析

   GET/POST querystring:
   host=www.abc.com&protocol=all

返回消息:

   服务器失败:http code ~= 200
   服务器成功:{code="ok/error",msg=...}
   code = error ,执行状态错误,msg 为错误内容