Cannot get my android ionic app to display api data

I am building an app in angular ionic and i have just added an android project. I also added some api to retrieve some data. I can see the data in the browser, however when i start the android app with capacitor, i cannot see the data. any ideas why?