curl -X POST "https://heimdall.qa.zoniqx.com/auth/email/verify-otp" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"otp": "string"
}'const response = await fetch("https://heimdall.qa.zoniqx.com/auth/email/verify-otp", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"email": "user@example.com",
"otp": "string"
}),
});
const data = await response.json();type AuthController_verifyEmailOtpResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/auth/email/verify-otp", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"email": "user@example.com",
"otp": "string"
}),
});
const data: AuthController_verifyEmailOtpResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/auth/email/verify-otp"
payload = {
"email": "user@example.com",
"otp": "string"
}
response = requests.post(url, json=payload)
data = response.json()