How to get data in Nextjs application

There are variety wide ways of fetching data.