Compute Glycemic Load
POST {{baseUrl}}/food/ingredients/glycemicLoad?language=en
Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
language | string | The language of the input. Either 'en' or 'de'. |
Request Body
{"ingredients"=>["1 kiwi", "2 cups rice", "2 glasses of water"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"totalGlycemicLoad":183.64,"ingredients":[{"id":9148,"original":"1 kiwi","glycemicIndex":52.67,"glycemicLoad":5.59},{"id":20444,"original":"2 cups rice","glycemicIndex":61.19,"glycemicLoad":178.05},{"id":14412,"original":"2 glasses of water","glycemicIndex":0,"glycemicLoad":0}]}