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-2--zesty-sprite-4b26be.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.