/v1/health/bmi1 credit / callBMI calculator
Body Mass Index and category from weight (kg) and height (cm).
| Parameter | Type | Required | Description |
|---|---|---|---|
| weightKg | number | Yes | Weight in kilograms. |
| heightCm | number | Yes | Height in centimeters. |
Request
curl -X POST https://toolsonduty.com/api/v1/health/bmi \
-H "Authorization: ******" \
-H "Content-Type: application/json" \
-d '{"weightKg":70,"heightCm":175}'Response
{
"ok": true,
"data": {
"bmi": 22.86,
"category": "Normal weight"
}
}