$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "userId": "demo_user_123",
< "planType": "starter",
< "bubbleWebhookUrl": "https://httpbin.org/post",
< "action": "scrape_website",
< "targetUrl": "https://quotes.toscrape.com/",
< "urls": [
< "https://quotes.toscrape.com/",
< "https://books.toscrape.com/"
< ],
< "dataPoints": {
< "title": "h1",
< "quote": ".quote .text",
< "author": ".quote .author"
< },
< "priceSelector": ".price"
<}
<EOF
$curl "https://api.apify.com/v2/acts/rodrigo91~bubble-integration-pro/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'