Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.29 KB

BodyWeightHeight.md

File metadata and controls

51 lines (37 loc) · 1.29 KB

Blood Pressure

GET all method

  GET /api/body_weight_height

GET Body Weight Height

  GET /api/body_weight_height/:id
Parameter Type Description
id integer Optional

POST method

  POST /api/body_weight_height
Parameter Type Description
user_id integer Required
weight float Required
height float Required
note text Optional
date_time datetime Required

weight and height parameters based on kg and cm units. Examples:

  • if you want to set the weight parameter of 85 kg, then it can be written with weight: 85.0
  • if you want to set height to 175 cm, can be written height: 175.0 because both of weight and height expect float data type.
  • this method can be automaticly return BMI (Body Mass Index) score.

DELETE Method

  DELETE /api/body_weight_height/:id
Parameter Type Description
id integer Required

Run in Postman