$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "zipcode": "80335",
< "keywords": [
< "tasche",
< "handcreme",
< "haarspray"
< ],
< "maxItems": 20,
< "endPage": 1,
< "startUrls": [
< "https://www.dm.de/balea-gesichtshaarentferner-p4067796182026.html",
< "https://www.dm.de/pflege-und-parfum",
< "https://www.dm.de/pflege-und-parfum?allCategories.id0=020000&pageSize0=10&sort0=editorial_relevance¤tPage0=2",
< "https://www.dm.de/search?query=tasche&searchProviderType=dm-products",
< "https://www.dm.de/search?query=tasche&searchProviderType=dm-products¤tPage=1&loadPrev=false"
< ],
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~dm-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'