API调用
API接口鉴权
请求内容
POST /get_domain_group_list HTTP/1.1
Host: admin.jxwaf.com
Content-Length: 10
waf-auth: 5aac27e9-8b3c-4a14-b884-7cad44a09535
Accept-Language: zh-CN,zh;q=0.9
Accept: application/json, text/plain, */*
Sec-Ch-Ua: "Chromium";v="133", "Not(A:Brand";v="99"
Content-Type: application/json
Sec-Ch-Ua-Mobile: ?0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Origin: https://admin.jxwaf.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://admin.jxwaf.com/
Accept-Encoding: gzip, deflate, br
Priority: u=1, i
Connection: keep-alive
{"page":1}
返回内容
HTTP/1.1 200 OK
Server: openresty/1.25.3.2
Date: Mon, 31 Mar 2025 17:27:06 GMT
Content-Type: application/json
Connection: keep-alive
Content-Length: 173
{"result":true,"page":1,"total_records":"1","total_pages":1,"records":[{"group_name":"ddd","user_name":"test","cname_conf":"none","unify_manage":"true","group_detail":""}]}
API接口鉴权字段为 header头中的 waf-auth , 鉴权令牌 可在 系统管理 -> 基础信息 中查看
API接口与Web控制台接口共用,可以在浏览器通过F12查看接口详情