The SmartFilter REST API is the easiest way for individuals and organizations to prevent cross-site scripting (XSS) attacks in their web applications. The API has been designed to provide simple access to the powerful content analysis systems and intelligence tools that Prevoty has developed.
Prevoty has developed a Java library to use SmartFilter quickly and easily. All dependencies (JUnit + HttpClient + Gson) are managed by Maven. Pull requests are appreciated.
To get started:
-
Pull a copy or .zip/.tar of this repository
-
Make sure you have an API key (you can get one for free from http://smartfiltersecurity.com)
-
Edit
SmartFilterClientTest.java
- you will want to put in your API key and rule key -
Run
SmartFilterClientTest.java
(JUnit tests)
Feel free to file an issue or send us a pull request.