mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 00:55:57 +03:00
[GH-ISSUE #1687] Ability to have predefined variables that can be used in the Request Composer #1679
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1679
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?
Originally created by @diego-pan on GitHub (Jun 21, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1687
Originally assigned to: @NghiaTranUIT on GitHub.
Description
If I compose multiple requests, I would like to be able to predefine variables that I can then use in one or more of my requests.
For example, let's say I have requests that have a header that takes values 'X'. I would like to be able to compose my requests, and all set a header's value to this variable, for all those requests.
Why this feature/change is important?
Let's say I am testing an API which has some sort of Authorization value which permits me to call those endpoints. If I have one place where I can set a variable to a valid value for authorisation, it would save a lot of copying and pasting for all requests.
Is scripting the way to do this? There's currently no UI support for this?
@NghiaTranUIT commented on GitHub (Jun 21, 2023):
It totally makes sense 👍 I'd introduce the Environment Variable as Postman does
It allows you to define variables, e.g.
{{SERVER_NAME}}, {{TOKEN_API}}, ...I will add it to the next releases 👍
@diego-pan commented on GitHub (Jun 22, 2023):
Thanks for being willing to introduce this, @NghiaTranUIT 👍🏻