curl -X POST "https://heimdall.qa.zoniqx.com/astra" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>"
const response = await fetch("https://heimdall.qa.zoniqx.com/astra", {
method: "POST",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data = await response.json();type AstraController_createAstraUserIntentResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/astra", {
method: "POST",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data: AstraController_createAstraUserIntentResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/astra"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
response = requests.post(url, headers=headers)
data = response.json()