$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "search": "product",
< "location": "berlin",
< "radius": 100,
< "startUrls": [
< "https://www.xing.com/gruppen/freelance",
< "https://www.xing.com/pages/spectrumag",
< "https://www.xing.com/profile/Marko_RoeperGrewe",
< "https://www.xing.com/search/in/jobs?facets%5B%5D=discipline&keywords=product&location=berlin&nrs=1&page=2&radius=10§ion=jobs"
< ],
< "maxItems": 20,
< "endPage": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~xing-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'