How to do pagination in workflow

Hi All,

I need to process the API which gives the paginated response.The next url to be used is passed as a part of header of response.I want to get all the response till end.Is there any way I can achieve this.I am doing this in webmethods io workflow.
Currently I am trying to use nodejs but I cloud see async/await is not working.Is there any other way to do the pagination.

Thanks in advance.

Hi Wayne/Srikanth,

Would you mind, can you please check on this one and suggest io.workflow solution unless your time permits?