When a user is hitting same API continuously 4-5 time then api route redirect on 404 error page.
How to disable ThrottleRequest and throttle middleware to allow user hit continously same api.
The throttle middleware does not throw a 404 status code. If the request is blocked by the throttling middleware you receive a 429 (Too Many Requests) status code.
if i use throttle middleware then it give me Too Many Attempts and 429 (Too Many Requests) status code and if i don't use this middleware and use direct api route then it redirect me 404 page.