![]() |
Myr0n 9/2/2020 |
Are there any plans to include some kind of rate limiting features for (authenticated) calls to the phpr REST API?
|
M
|
MikeT author 9/2/2020 |
Thanks! I a came up with something similar in my dev-project, lol. |
![]() |
Sergey Kornilov admin 9/2/2020 |
This sounds like a really interesting feature and as a developer, I like it a lot. Yes, it is possible to implement it right now using events. When data is accessed via REST API events executed and you can access those events to log the usage and prevent data from being served if they are over the limit. You can find more info about events that will be executed at https://xlinesoft.com/phprunner/docs/about-rest-api.htm |