How to protect NextJS’s Route Handlers from being accessed outside my website
I’m using NextJS 14 App Router, and I have multiple Route Handlers for my APIs, but I was surprised to know that my friend was able to send requests to my Route Handlers using Postman from his PC.