Course lesson
Create a Static REST Endpoint in Next.js
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.
- Duration
- 2 min
- Access
- Free
- Transcript
- Retained from source evidence
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.