Create a Static REST Endpoint in Next.js

Share this video with your friends

Send Tweet

We will learn how to create a REST endpoint that returns a hardcoded json response. Apart from that, we'll create deeply nested routes by following Next.js' file based router.