Laravel API request limit is set at
app\Http\Kernel.php
https://stackoverflow.com/questions/43058219/disable-rate-limiter-in-laravel
example below: throttle - 60 attempts then locked out for 1 minute),
more than 60 will result http status code 429 too many attempts(https://github.com/laravel/framework/discussions/27512)
'api' => [
'throttle:60,1',
'bindings',
],
If comment out throttle, there will be no limit.
can also be set to 120,1 meaning 120 attempts lock out for 1
minute
No comments:
Post a Comment