Simple BMI Calculator

FREEMIUM
By Thaqif Syarafuddin | Updated il y a 2 mois | Health and Fitness
Popularity

0.3 / 10

Latency

624ms

Service Level

100%

Health Check

N/A

Back to All 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.