Thanks @vincent15000 for replying.
Yes, you're right. The 429 error happens based on the IP. In our case, the client is having a separate system(both Frontend and Backend). In this they are calling our laravel application via their Backend.
So in this case, in case of multiple users from frontend, it has been considered as single user request(Since its from Backend)
While checking today, I have found that it laravel works as below.
Scenario 1
Provided RouteServiceProvider.php as Limit 2, Provided api.php as Limit 5, Returned 200 -> 2 times.
Scenario 2
Provided RouteServiceProvider.php as Limit 2, Provided api.php as Limit 1, Returned 200 -> 1 times.
I am thinking of implementing a Custom RouteServiceProvider for my API's. And then giving them the larger Rate limiting to avoid this issue. Can anyone suggest if this is recommended way or any other best way to approach this problem?
Thanks.