//Submit text, response will return true or false
//BOOLEAN: checkWord(authKey,textstring)
//RETURNS: {'isFilthy':'true || false'}
$.post("http://www.theFilthyList.com/api/tfl_Free.aspx", {
checkWord: 'true',
cleanText: '{ \'authKey\': \'YourApiKey\', \'textstring\': \'YourFilthyWord\' }'
},function(data) {
alert(data);
});
//Submit a block of text less than 2000 characters and bad words
//will be replaced with Astericks ********
//STRING: cleanReplace(authKey,textstring)
//RETURNS: {'cleantext':'YourCleanText'}
$.post("http://www.theFilthyList.com/api/tfl_Free.aspx", {
cleanReplace: 'true',
cleanText: '{ \'authKey\': \'YourApiKey\', \'textstring\': \'YourFilthyWords\' }'
},function(data) {
alert(data);
});