$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "converter_type": "html_to_clean_text",
< "html_input": "<!DOCTYPE html>\n<html>\n<head><title>Sample Article β AI Trends</title></head>\n<body>\n<nav>Home | Tech</nav>\n<script>trackPageView();</script>\n<article>\n <h1>AI Trends Shaping the Future</h1>\n <p>Artificial intelligence continues to evolve at a breathtaking pace.</p>\n <p>Multimodal AI systems combining text, image, and audio are becoming mainstream.</p>\n</article>\n<footer>© 2025 TechNews</footer>\n</body>\n</html>",
< "preserve_links": true,
< "preserve_line_breaks": true,
< "summary_sentences": 5,
< "json_input": "{\n \"company\": \"TechCorp Inc.\",\n \"fiscal_year\": 2025,\n \"departments\": [\n {\"name\": \"Engineering\", \"headcount\": 150, \"budget\": 5000000},\n {\"name\": \"Marketing\", \"headcount\": 45, \"budget\": 2000000}\n ]\n}",
< "report_max_width": 100,
< "log_input": "2025-01-15T08:30:01.123Z [INFO] [AuthService] User login successful: user_id=12345\n2025-01-15T08:30:10.012Z [ERROR] [PaymentGateway] Transaction failed: timeout after 30s\n2025-01-15T08:31:05.222Z [CRITICAL] [DiskMonitor] Disk usage at 95%",
< "form_input": "{\n \"first_name\": \"Ali\",\n \"last_name\": \"Hassan\",\n \"email\": \"ali.hassan@example.com\",\n \"age\": \"28\",\n \"is_subscribed\": \"yes\"\n}",
< "field_mapping": "{\n \"first_name\": \"user.firstName\",\n \"last_name\": \"user.lastName\",\n \"email\": \"user.email\"\n}",
< "api_base_url": "https://api.example.com",
< "api_endpoint": "/v2/users/register",
< "api_method": "POST",
< "api_auth_type": "bearer",
< "validation_rules": "{\n \"first_name\": {\"required\": true},\n \"email\": {\"required\": true}\n}",
< "url_to_scrape": ""
<}
<EOF
$curl "https://api.apify.com/v2/acts/moving_beacon-owner1~my-actor-65/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'