I am trying to retrieve data from a rest source, but the pagination is in the header as a link but when i pass it in the parameters the additional fields are causing a failure. How can i
- use substring for the header
- capture another parameter from the header as i need to use that value for a loop
for 1, how can i pass only the string of the Link that stops at 301 and does not read/pass the "rel=next" value
For 2, how to capture the x-ratelimit_remaining as i need to stop the pipeline before it gets to 0, that parameters keeps on decreasing after every GET.