bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Support for path parameters

Open vboctor opened this issue 1 year ago • 13 comments

Postman supports ":param" in path as a first-class concept which is convenient compared to having to use pre-request variables. It is also useful when importing a Postman collection into Bruno to have support for such case.

If for some reason it is not desired to add such support, then during importing Postman collection convert ":param" to "{{param}}" and add it to the pre-request variables. Though it will be much better to support path parameters.

vboctor avatar Nov 01 '23 16:11 vboctor

Adding just this one thing, say in your next release, will make me shfit from Postman immediately

Kenneth-Macharia avatar Nov 10 '23 17:11 Kenneth-Macharia

+1 This is a must for postman compatibility. Furthermore, i serve an important self-documentation purpose as it make explicit "this is a query param" when usual variable can be env/api version/whatever

DrGrognon avatar Dec 06 '23 08:12 DrGrognon

+1

1Mark avatar Dec 12 '23 14:12 1Mark

Any updates? It’s terrible to use API tool w/o path variables.

mikekosulin avatar Dec 26 '23 23:12 mikekosulin

Looks like there is a PR for it: https://github.com/usebruno/bruno/pull/484

RemekGdansk avatar Dec 28 '23 14:12 RemekGdansk

+1 Insomnia does, too

theMK2k avatar Mar 10 '24 00:03 theMK2k

This is right now the only thing which keeps me from switching from Postman.

casperghst42 avatar May 03 '24 11:05 casperghst42

This is right now the only thing which keeps me from switching from Postman.

same

TheRealBenForce avatar May 13 '24 16:05 TheRealBenForce

This is right now the only thing which keeps me from switching from Postman.

same

Soon: https://github.com/usebruno/bruno/pull/484#issuecomment-2084892477

mikekosulin avatar May 13 '24 16:05 mikekosulin

same, is very useful to switch from Postman

pasalino avatar May 22 '24 13:05 pasalino

#484 has been merged!

Thanks, @game5413

mikekosulin avatar May 22 '24 19:05 mikekosulin

What a great news ! This was the main blocker for us to migrate to bruno.

Looking forward for a release including this.

Good job to everyone involved! ❤️

magnetik avatar May 23 '24 08:05 magnetik

Can’t wait, either, super excited!On 23 May 2024, at 11:43, Baptiste Lafontaine @.***> wrote: What a great news ! This was the main blocker for us to migrate to bruno. Looking forward for a release including this. Good job to everyone involved! ❤️

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Kenneth-Macharia avatar May 23 '24 11:05 Kenneth-Macharia

Which release has included https://github.com/usebruno/bruno/pull/484? I don't see it in any release note.

yulin-dong avatar May 29 '24 21:05 yulin-dong

Which release has included #484? I don't see it in any release note.

It is not merged on master, there is another open PR with the feature: #2357

Its-treason avatar May 29 '24 21:05 Its-treason

We merged #2357 to main today. The main build will go out on Tuesday June 4th 2024.

Meanwhile we will also share a dedicated build later today so that community can test this and report any issues.

Thank you so much @game5413 for working on this. Thanks @edbrannin @bsleczko @Its-treason for the reviews. Thanks @sanjai0py @lohxt1 for getting this polished and merged.

helloanoop avatar May 30 '24 10:05 helloanoop

Please test this build out and report issues if you find them: https://github.com/usebruno/bruno-nightly-builds/releases/tag/v1.19.0-31may2024

helloanoop avatar May 31 '24 21:05 helloanoop

I've tested it. When loading a request that have a :param in the URL created in the 1.18 version, the box that allows param to be configured is now shown. Working fine when editing it afterwards.

magnetik avatar Jun 03 '24 06:06 magnetik

Will it be possible to escape colon? You can't use colons in URLs in Postman adequately bc of path parameter support. Colon is reserved symbol in URLs, so it's kind of strange to use such symbol for embedding stuff at the syntax level (at least without escaping)

noavarice avatar Jun 04 '24 14:06 noavarice

Hello to all. Having an issue with pathParams, created a bug: https://github.com/usebruno/bruno/issues/2439 .

Ukrainis avatar Jun 11 '24 13:06 Ukrainis

Closing this issue as the PR by @game5413 improvised by me has been merged and released in v1.19.0

sanjai0py avatar Jul 02 '24 07:07 sanjai0py