02-16-2023 09:52 AM
Hi All,
I am working with HTTP client snap and this is my first snap in the pipeline and i am using GET method to read data from API.
I have to make sure data from all pages gets captured from source and for that i have to use pagination.
Can anyone help me in this as i have never used this function.
02-23-2023 02:40 PM
Thanks. I understand.
This isn’t as easy as it should be, but try this:
Enable debug
page
in the Override Parameters
, set the expression to parseInt($_debug.request.requestLine.match("page=([0-9]+)")[1]) + 1
02-27-2023 06:05 AM
That worked like a charm. I’ll keep that in my back pocket for future (less than stellar) APIs 🙂