Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more flexible path variable patterns #3783

Open
1 task done
ping13 opened this issue Jan 13, 2025 · 0 comments
Open
1 task done

Support more flexible path variable patterns #3783

ping13 opened this issue Jan 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ping13
Copy link

ping13 commented Jan 13, 2025

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

Hi, thanks for the nice IDE for REST APIs! I have a problem with using TomTom's REST API with Bruno

The URL request format is (shortened):

https://{baseURL}/search/{versionNumber}/geocode/{query}.{ext}?key={Your_API_Key}&[....]

One example call is https://api.tomtom.com/search/2/geocode/Paris.json?key=.... The challenge is how to model the two path parameters {query}.{ext}?

I can write

https://api.tomtom.com/search/:version/geocode/:query?key={{TOMTOM_API_KEY}}

but I as a "." is not treated as a special character for path variables, I cannot write

https://api.tomtom.com/search/:version/geocode/:query.:ext?key={{TOMTOM_API_KEY}}

Mockups or Images of the feature

Bruno would recognize three path variables: version, query and ext. This would mean that the variable names need to be restricted and not allow (some) special characters.

https://api.tomtom.com/search/:version/geocode/:query.:ext?key={{TOMTOM_API_KEY}}
@ping13 ping13 added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant