M
M
mazahaler2019-11-21 23:25:32
Laravel
mazahaler, 2019-11-21 23:25:32

How does api throttle work in Laravel?

Hello, the question is simple: how exactly does the limit on the number of requests work in Laravel?
Http/Kernel.php has this property:

'api' => [
            'throttle:60,1',
            'bindings',
        ],

In this case, will the limit of 60 requests per minute work in general (for all users) or for a specific IP (one user)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question