Skip to content

Instantly share code, notes, and snippets.

@hkirat
Created March 4, 2021 19:00
Show Gist options
  • Save hkirat/821836826a177ab3a986c16b2a826161 to your computer and use it in GitHub Desktop.
Save hkirat/821836826a177ab3a986c16b2a826161 to your computer and use it in GitHub Desktop.
curl --location --request POST 'https://api.highfidelity.com/api/v1/spaces/dd12f2a5-ee72-4b86-b42d-76c431c11ac5/settings/zones?token=token' \
--header 'authority: dev-api.apiax.io' \
--header 'pragma: no-cache' \
--header 'cache-control: no-cache' \
--header 'productid: 5f8400d29acb977228f1d893' \
--header 'authorization: Basic Og==' \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--header 'x-priority-countries: VGB' \
--header 'x-legal-entity-id: 5bb3460d650bdfed26360313' \
--header 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36' \
--header 'familyid: 5e5faef341f6330001466d41' \
--header 'x-api-key: HrMa1kQkiCUbpPmxsqMR' \
--header 'origin: http://localhost:6007' \
--header 'sec-fetch-site: cross-site' \
--header 'sec-fetch-mode: cors' \
--header 'sec-fetch-dest: empty' \
--header 'referer: http://localhost:6007/' \
--header 'accept-language: en-US,en;q=0.9' \
--data-raw '{
"name": "zone1",
"x-min": -4,
"x-max": 4,
"y-min": -4,
"y-max": 4,
"z-min": -4,
"z-max": 4
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment