$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "texts": [
< "Default QA 1: please hide this shit before export.",
< "Default QA 2: clean text without blocked words.",
< "Default QA 3: this damn message is allowed to mask, but damnation stays safe.",
< "Default QA 4: clean text without blocked words.",
< "Default QA 5: spoiler should be caught by custom words.",
< "Default QA 6: this damn message is allowed to mask, but damnation stays safe.",
< "Default QA 7: please hide this shit before export.",
< "Default QA 8: clean text without blocked words.",
< "Default QA 9: this damn message is allowed to mask, but damnation stays safe.",
< "Default QA 10: spoiler should be caught by custom words.",
< "Default QA 11: please hide this shit before export.",
< "Default QA 12: this damn message is allowed to mask, but damnation stays safe.",
< "Default QA 13: please hide this shit before export.",
< "Default QA 14: clean text without blocked words.",
< "Default QA 15: spoiler should be caught by custom words.",
< "Default QA 16: clean text without blocked words.",
< "Default QA 17: please hide this shit before export.",
< "Default QA 18: this damn message is allowed to mask, but damnation stays safe.",
< "Default QA 19: please hide this shit before export.",
< "Default QA 20: spoiler should be caught by custom words.",
< "Default QA 21: this damn message is allowed to mask, but damnation stays safe.",
< "Default QA 22: clean text without blocked words.",
< "Default QA 23: please hide this shit before export.",
< "Default QA 24: this damn message is allowed to mask, but damnation stays safe.",
< "Default QA 25: spoiler should be caught by custom words."
< ],
< "customWords": [
< "spoiler"
< ],
< "allowedWords": [
< "damnation"
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/maximedupre~profanity-checker/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'