Create an Optional Catch-All API Route in Next.js

Share this video with your friends

Send Tweet

We're going to learn how to create an API route that can read 0 or many dynamic segments from a URL.