Ask, reply and learn. Join the community of Akaunting.
Hi!
How can we change the throttling behaviour of the REST API?
I wrote a script that creates hundreds of invoices successively, but it unfortunately bumps into the default throttling settings which limits the number of requests to 60 per minute.
I am not familiar with Laravel and I've spent many hours trying to figure out how to change that default behaviour, without success. I found I could comment a few lines in app/Http/Kernel.php to completely disable throttling, but I would prefer to change its parameters in a configuration file rather than disabling it in a source file.
Ideally I would disable the API throttling only for a particular user calling from localhost, but any help or pointers would be appreciated
Unfortunately, that's not possible.
Thanks for your response Denis.
It's too bad, is there at least an easy config change that can be done to disable it completely, temporarily? (instead of adjusting its number of requests per minute)
Showing 1 to 3 of 3 discussions