mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2891
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/840
Author: @sboulema
Created: 5/3/2020
Status: ✅ Merged
Merged: 5/5/2020
Merged by: @liyasthomas
Base:
master← Head:feature/URL-Path-Parameters-#834📝 Commits (4)
25f014eURL Path Parameters #83454e0130Merge branch 'master' into feature/URL-Path-Parameters-#8349cb6486Proper path parameter replacementf4d6958Merge branch 'master' into feature/URL-Path-Parameters-#834📊 Changes
4 files changed (+65 additions, -10 deletions)
View changed files
➕
functions/requestParams.js(+17 -0)📝
functions/templating.js(+1 -1)📝
pages/index.vue(+43 -9)📝
store/mutations.js(+4 -0)📄 Description
Adds a type dropdown to the current parameter list. Based on the type, the parameter either gets included as a query parameter or gets added as an environment variable so it can be used in the current url path template replacement.
Parameters without a type are treated as query parameters so the implementation is backwards-compatible.
This way the parameter gets saved with the request and does not have to be saved with the environment.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.