Route Security
How to secure routes.
Limiting Requests
# This can only be called from the same IP, once every two minutes.
&limit('1 per 2 minute')
@get('/route1'):
print('Hello, World!')
# Max 200 request per day from the same IP.
&limit('200/day')
@get('/route2'):
print('Hello, World!')Available rules
Last updated