Next.js Discord

Discord Forum

Throttling in Route Handlers

Answered
British Shorthair posted this in #help-forum
Open in Discord
British ShorthairOP
Hi everyone, how to apply throttling in next 13 route handlers to prevent people from spamming the API?
Answered by Giant panda
One option is this which is fairly popular: https://github.com/upstash/ratelimit
View full answer

1 Reply

Giant panda
One option is this which is fairly popular: https://github.com/upstash/ratelimit
Answer