Carbohydrate in a weighed portion, or the portion weight for a carbohydrate target (API key)
POST /carb-counting/carbohydrate-content · API key required
Send carb_per_100g (the Carbohydrate line of the food label, not the of-which-sugars line) with exactly one of portion_weight_g (returns carb_in_portion_g) or target_carb_g (returns the portion weight needed).
Request body
Content type: application/json
Responses
200400429503- The stored reference values are missing or unreadable.