Simple BMI Calculator

FREEMIUM
Door Thaqif Syarafuddin | Bijgewerkt il y a 3 mois | Health and Fitness
Populariteit

0 / 10

Latency

740ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle tutorials (1)

Usage

Endpoint : ./calculate/{unitId}/{height}/{weight}

  1. The endpoint has 3 parameters
  • unitId
  • height
  • weight
  1. The unitId would allow 2 options to configure the unit of measurement which is
  • metric
  • imperial

Metric is using the units of centimerters for height and kilograms for weight.
Imperial is using the units of feet for height and pounds for weight.

  1. The height parameter allows input for height.
  2. The weight parameter allows input for weight.
  3. Simple as that.