Arcjet bot protection example
This page is protected by Arcjet's bot protection configured to block automated clients.
Try it
Make a request using curl, which is considered an automated client:
curl -v https://deploy-preview-11--lustrous-cobbler-00e398.netlify.app/bots/test
Your IP will be blocked for 60 seconds.
Bot protection can also be installed in middleware to protect your entire site.
See the code
The API route imports a centralized Arcjet client which sets base rules.