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

Request path parameters #6994

Merged
merged 12 commits into from Jan 18, 2024
Merged

Conversation

gatzjames
Copy link
Contributor

@gatzjames gatzjames commented Jan 18, 2024

Introduces path parameters to requests.
Path parameters are path segments that start with a colon : and can be used to describe variable segments of url paths.

This PR adds the ability to manage this parameters for requests in the request panel.

Highlights:

  • The Query tab on the response panel becomes the Parameters tab and has additional UI to manage and edit path parameters
  • Path parameter values are stored in the request/websocket-request models
  • The value of a path parameter can be a variable and is being rendered when the request is sent.
image

Closes INS-3442

changelog(Improvements): Introducing Path parameters. Path parameters are path segments that start with a colon : and can be used to describe variable segments of URLs.

@gatzjames gatzjames self-assigned this Jan 18, 2024
@gatzjames gatzjames requested a review from a team January 18, 2024 12:13
@gatzjames gatzjames merged commit a8c1da7 into Kong:develop Jan 18, 2024
8 checks passed
@gatzjames gatzjames deleted the feat/request-parameters branch January 18, 2024 21:35
@ardaorkin
Copy link

That's great!

jackkav pushed a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
* add path parameters to the request/ws-request model

* render path params

* show path params on the ui

* fix rendering of params

* cleanup params ui in ws

* cleanup request model

* add empty state info

* update styles

* certificate-styles

* fix tests

* cleanup code

* fix e2e tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants