Consuming API routes in Next.js
Oct 16, 2024 · 2 min read · Next.js provides an amazing feature called API routes where you define server side logic to fetch data from your apis and pass it to client side. In this article, lets see how can we can fetch news from an API route and send the data to the client si...
Join discussion
