Ionic 5 rest call

I am migrating a simple app from ionic to the latest version (5).

I want to make a simple rest call and populate that data in a screen.

But struggling to see how this is done in the latest version. Is there a simple example for this, where you have a service who do the call and then get that data displayed on a page?