How to apply rate limit with .qsp.read.fromHTTP

https://learninghub.kx.com/forums/topic/how-to-apply-rate-limit-with-qsp-read-fromhttp

I saw this reader, .qsp.read.fromHTTP, is a more convenient way to implement an API call request to get data instead of a timer and callback. But what if the API has a rate limit, how do you abide by that? I know its related to OnResponse option, but not sure how to use that to trigger next request periodically after x amount of time, say 30 seconds or 1 hour. I simply want to make the API request to get data periodically.

Thanks

There isn’t a supported, easy way to do this unfortunately. The reader currently issues a single request as opposed to polling. It’s a great suggestion though and something we are considering. I’ve raised an idea to our product team to suggest the enhancement.

Appreciate the action. In the meantime, I will try to use the callback/timer method instead.