$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
<  "startUrls": [
<    {
<      "url": "https://weather.com/weather/today/l/5aea1d50a6d6b9e99cf89ba79f463d67dcf21ea5061990aae1ffc1c7fa8911a9"
<    },
<    {
<      "url": "https://weather.com/weather/today/l/ada030b2de8db495da2d93d5a2ecf30de1ce8b54cb09725d19c803543685646d"
<    }
<  ],
<  "locations": [
<    "Montgomery, Alabama",
<    "Juneau, Alaska"
<  ],
<  "locationIds": [
<    "e60256f3426acd3c1b3380921210fcffeab628a120c41d1de03b59a0f0dd32ad",
<    "bf217d537cc1c8074ec195ce07fb74de3c1593caa6033b7c3be4645ccc5b01de"
<  ],
<  "timeFrame": "today",
<  "units": "imperial",
<  "maxItems": 10,
<  "proxyConfiguration": {
<    "useApifyProxy": true
<  },
<  "extendOutputFunction": "($) => { return {} }",
<  "customMapFunction": "(object) => { return {...object} }"
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~weather-scraper/runs?token=$API_TOKEN" \
<  -X POST \
<  -d @input.json \
<  -H 'Content-Type: application/json'