usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
25.28k stars 1.15k forks source link

Inherit URL from collection #2926

Open ameem-chronograph opened 2 weeks ago

ameem-chronograph commented 2 weeks ago

I have checked the following:

Describe the feature you want to add

Similar to how we can inherit Auth from the collection level, it would be useful to inherit the URL as well. I see that there is a "Base URL" option within collection presets. But this only appears to pre-populate the URL when creating a new request. Instead, would like to be able to change all URLs in my collection with a single setting.

Mockups or Images of the feature

N/A

nashsibanda commented 2 weeks ago

+1 for this - when importing OpenAPI specs, all my request urls are http://path/to/resource when I need them to be https://base-url.com/path/to/resource to test our staging/prod environments, as well as https://local.test:8443/path/to/resource when testing locally.

It would be great to be able to set the base URL as a collection environment variable.