# 获取敏感词
请求方式:POST
请求地址:https://$basehost/gateway/qopen/SensitiveWordSync
body参数:
{}
{
"data": {
"keywords": ["敏感词"]
},
"errcode": 0,
"errmsg": "",
"hint": ""
}
返回说明
字段 | 类型 | 说明 |
---|---|---|
data | json | json返回值 |
keywords | array | 敏感词列表 |
errcode | int | 状态码,0为正常,非0代表错误 |
errmsg | string | 错误信息 |
hint | string | 请求日志ID |
完整请求示例:
curl -X POST https://$basehost/gateway/qopen/SensitiveWordSync \
-H 'Content-Type: application/json; charset=UTF-8' \
-H 'Token: c2NdxDHKXIJ5j1zrhJeq2eJEHjh9xxx' \
-d '{}'