Hi @Axell ,
Thank you for posting query in Microsoft Q&A Platform.
You should parameterize REST dataset to dynamically pass your relative URLs.
Kindly check below example, where I tried explain step by step implementation of your requirement.
Step1: Have parameter in pipeline which is going to take all your relative URLs as array. While running pipeline you need to supply array of your relative URLs into this parameter.
You should create a array of your relative URLs in below format to pass it in to this parameter while running pipeline.
["/moon/1","/sun/1","/planet/1"]
Step2: ForEach activity to loop through over your "relativeURLs" array parameter items.
Step3: Parameterize your REST dataset.
Step4: Use Copy activity inside ForEach activity. Under Source tab select dataset created in step3.
Hope this will help. Please let us know if any further queries.
---------------------
Please consider hitting Accept Answer button. Accepted answers helps community as well. Thank you.