OkayAPI Docs


API Path: /api/App/Common_BannerWord/Check

API Description: 根据传递的文本进行敏感词的检测,如果存在敏感词会将包含敏感词通过数组返回

1
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
contentStringRequiredMIN: 1待检测的文本

API Debug

KEYREQUIREDVALUE
app_key *Required
content *Required

API Response

KEYTypeDescription
err_codeInt是否有敏感词操作码,0没有,1有敏感词
sensitiveWordArray包含的敏感词

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400表示客户端参数错误
Http Status = 404表示接口服务不存在
Http Status = 500表示服务端内部错误