#!/bin/sh

curl 'https://services.arcgis.com/bkrWlSKcjUDFDtgw/arcgis/rest/admin/services/sitedomains/FeatureServer/0/addToDefinition' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' -H 'Accept: application/json, text/plain, */*'  --data 'f=json&token=_NsBfOjUXBJqxs7W6N0HjC2VTB68E7FHm7dk6p1ZAoGaf9E8ynchrrO2-704dlNAQxeqLhe6zSOzkOIHQQJB3NRCo79sNtkUPeqFQ6swJYr6Cs7803u8fu1RuPuxbqracLC_Ih1jm_zSXJX9kfgYChWs5o62LNklo9c1LZEXu_6UhHkgoK8TJJ7kLjXD1hR4&addToDefinition={"indexes":[{"name":"idx_domain_unique","fields":"domain","isUnique":true,"isAscending":false,"description":"Force Domain to be unique"}]}' --compressed
