# How to execute one call with multiple base urls

**URL:** <https://community.postman.com/t/how-to-execute-one-call-with-multiple-base-urls/61045>\
**Category:** Help Hub\
**Tags:** tests, variables, collections, api\
**Created:** [May 15, 2024, 7:06am UTC](https://community.postman.com/t/how-to-execute-one-call-with-multiple-base-urls/61045 "2024-05-15T07:06:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [May 15, 2024, 9:57am UTC](https://community.postman.com/t/how-to-execute-one-call-with-multiple-base-urls/61045/2 "2024-05-15T09:57:33Z")

</div>

The collection runner\data file method would be the recommend way.

The only other way is to use a script\loop with setNextRequest() which also needs the collection runner to work. Please search the forum for examples.

The following has an example that you can use as a starting point.

[How can I add the loop? - 🌱 Just Getting Started - Postman Community](https://community.postman.com/t/how-can-i-add-the-loop/60976)

Instead of having an array of numbers, you would have an array of URL’s.

---

_[View the full topic](https://community.postman.com/t/how-to-execute-one-call-with-multiple-base-urls/61045)._
