[PR #840] [MERGED] URL Path Parameters #834 #2891

Closed
opened 2026-03-17 00:33:32 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: feature/URL-Path-Parameters-#834


📝 Commits (4)

📊 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

PathParameter

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.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/840 **Author:** [@sboulema](https://github.com/sboulema) **Created:** 5/3/2020 **Status:** ✅ Merged **Merged:** 5/5/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `feature/URL-Path-Parameters-#834` --- ### 📝 Commits (4) - [`25f014e`](https://github.com/hoppscotch/hoppscotch/commit/25f014ef3b34216068193bad5b2e899cea39fda2) URL Path Parameters #834 - [`54e0130`](https://github.com/hoppscotch/hoppscotch/commit/54e0130216bfa9e29c14f88f100585e51b6b8f66) Merge branch 'master' into feature/URL-Path-Parameters-#834 - [`9cb6486`](https://github.com/hoppscotch/hoppscotch/commit/9cb6486c71b1bb510630b02b1cb0c01a8766a196) Proper path parameter replacement - [`f4d6958`](https://github.com/hoppscotch/hoppscotch/commit/f4d69584911d8f1ac4cbd584d7297bc0be189486) Merge branch 'master' into feature/URL-Path-Parameters-#834 ### 📊 Changes **4 files changed** (+65 additions, -10 deletions) <details> <summary>View changed files</summary> ➕ `functions/requestParams.js` (+17 -0) 📝 `functions/templating.js` (+1 -1) 📝 `pages/index.vue` (+43 -9) 📝 `store/mutations.js` (+4 -0) </details> ### 📄 Description [![PathParameter](https://i.imgur.com/teJ3MiD.png)](https://i.imgur.com/teJ3MiD.png) 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:33:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2891
No description provided.