$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "texts": [
< "Just tried the new update and I'm absolutely loving it! The interface is so much cleaner now. 🎉",
< "The app keeps crashing on my phone. Very frustrating experience.",
< "It's okay, nothing special. Does what it's supposed to do.",
< "This is the best app I've ever used! Worth every penny.",
< "The customer service was terrible. No one responded to my emails.",
< "Pretty average app. Not bad, but nothing to write home about."
< ],
< "labels": "Sentiment Positive, Sentiment Neutral, Sentiment Negative"
<}
<EOF
$curl "https://api.apify.com/v2/acts/lofomachines~apify-result-ai-text-classifier/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'