I have an in-house developed API that returns data 25 records at a time. It doesnt tell me how many pages there are but there is a hasMore value thats set to 1 and there is also a link to the next set of records which has &offset=25 at the end of the URL, then &offset=50 etc etc. How do I put this inside a macro so it runs till the hasMore value is o?