#!/usr/bin/env bash
set -euo pipefail
# Fill DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD in your shell, not in this repo.
cred="$(printf "%s:%s" "$DATAFORSEO_LOGIN" "$DATAFORSEO_PASSWORD" | base64)"
curl --location --request POST "https://api.dataforseo.com/v3/merchant/amazon/reviews/task_post" \
  --header "Authorization: Basic ${cred}" \
  --header "Content-Type: application/json" \
  --data-binary @content_population_exports/dataforseo_amazon_reviews_task_payload.json
