The Fetch API provides an interface for fetching resources (including across the network)
See MDN Docs →
Next.js has built-in fetch support both in browser and node environment.
It can be used both in your components and Next.js server-side methods.
swr plugins to handle client-side requests.
They can be used with promise-based methods (fetch, axios..)