Laravel Throttling

in /app/http/Kernel.php

 protected $middlewareGroups = [
                'web' => [
                        \App\Http\Middleware\EncryptCookies::class,
                        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
                        \Illuminate\Session\Middleware\StartSession::class,
                        \Illuminate\View\Middleware\ShareErrorsFromSession::class,
                        \App\Http\Middleware\VerifyCsrfToken::class,
                ],

                'api' => [
                        'throttle:600,1',
                ],
        ];