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 Ruby library to use SmartFilter quickly and easily. The PHP library uses Requests
. A version of this is already bundled with this project.
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
example.php
- you will want to put in your API key and rule key -
Run
php example.php
Feel free to file an issue or send us a pull request.