This method can be used to detect abuse of your website/app. It's a great way to know more about your user inputs and whether they contain profanity (bad words) or not before releasing them to the public.
You can simply use this method by using the
badWordsmethod instead of
GeoIPthat we described before, then you pass the text you want to filter. Let's take an example:
https://gregeoip.com/badWords?key=YourKey&text=This is just a testing text