Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel api too many requests

//In app/Http/Kernel.php Laravel has a default throttle limit for all api routes.

protected $middlewareGroups = [
    ...
    'api' => [
        'throttle:60,1',
    ],
];
 
PREVIOUS NEXT
Tagged: #laravel #api #requests
ADD COMMENT
Topic
Name
2+7 =