So i’m using an API connector to fetch data from the USDA API to fetch a list of nutrients for a given food item. Now i need a list of 4 nutrients, 208-Energy, 269-Sugars, 204-Total Lipids and 205-Carbohydrates. I’ve passed the nutrients parameter as a shared parameter, and 4 such parameters with the same name with different values.
And the API is only fetching one nutrient value.
My guess is that i need to pass these values as an array. Can anybody help me in specifying how i can do that?