PHP code example of apiverve / spamdetector
1. Go to this page and download the library: Download apiverve/spamdetector library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
apiverve / spamdetector example snippets
bash
curl -X POST "https://api.apiverve.com/v1/spamdetector" \
-H "x-api-key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"text": "Can you please spare some change?! Desperate!!! Send cash",
"email": "[email protected]",
"ip": "122.180.184.182"
}'