Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

swarley_HIMYM's avatar

API Throttling

i've been set API Throttling in api middleware route, but it seems doesnt work.

``

Route::middleware('throttle:70,1')->group(function () { ..... });


but after i tried use the api the headers response still the default throttling


x-ratelimit-limit →60 x-ratelimit-remaining →58

0 likes
4 replies
swarley_HIMYM's avatar

on laravel route, like this

Route::middleware('throttle:70,1')->group(function () { 
.....
});

Please or to participate in this conversation.