Bad Word Filter
POST {{baseUrl}}/bad-word-filter
Detect bad words, swear words and profanity in a given text
Request Body
[{"name"=>"content", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"censor-character", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"catalog", "value"=>"strict", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"bad-words-list":["\u003cstring\u003e","\u003cstring\u003e"],"bad-words-total":"\u003cinteger\u003e","censored-content":"\u003cstring\u003e","is-bad":"\u003cboolean\u003e"}