So you want to consume an API. Checkout this Academy learning path: https://academy.mendix.com/link/module/138/Importing-Data-Consuming-REST-Services which will tell you everything you need to know.
I have followed the page https://academy.mendix.com/link/module/138/Importing-Data-Consuming-REST-Services to learn about the way to use API’s and reached to the point given below in the image.
This is the data i myself created so there was’nt much of a problem here. what i want to do is take data which is provided from other sources (like URL’s) which already exist and access them through my app.
I have already tried this out but is not working the way I expected.
https://jsonplaceholder.typicode.com/posts
when I use this above link through a button I want the data to be visible in log or other widgets I use.