[GH-ISSUE #1603] Environment variables do not bind into request parameters #503

Closed
opened 2026-03-16 15:43:00 +03:00 by kerem · 4 comments
Owner

Originally created by @haupv1m on GitHub (Apr 15, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1603

Describe the bug
I'm using hoppscotch and want to binding environment variable value into request query parameters. However, when using environment variable witth double angular brackets, it's not binded

To Reproduce

  • Setup as image
  • Check request on server side

Expected behavior

  • apiToken environment variable value is binded into t request parameter

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.2 LTS
  • Browser chrome
  • Version 89.0.4389.114
Originally created by @haupv1m on GitHub (Apr 15, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1603 **Describe the bug** I'm using hoppscotch and want to binding environment variable value into request query parameters. However, when using environment variable witth double angular brackets, it's not binded **To Reproduce** - Setup as ![image](https://i.imgur.com/sCUAvDF.png) - Check request on server side **Expected behavior** - apiToken environment variable value is binded into `t` request parameter **Screenshots** ![image](https://i.imgur.com/sCUAvDF.png) **Desktop (please complete the following information):** - OS: Ubuntu 20.04.2 LTS - Browser chrome - Version 89.0.4389.114
kerem closed this issue 2026-03-16 15:43:05 +03:00
Author
Owner

@liyasthomas commented on GitHub (Apr 15, 2021):

You've to change Parameter type from Query to Path.

Screenshot 2021-04-15 at 12 41 01 PM
<!-- gh-comment-id:820177047 --> @liyasthomas commented on GitHub (Apr 15, 2021): You've to change `Parameter type` from `Query` to `Path`. <img width="895" alt="Screenshot 2021-04-15 at 12 41 01 PM" src="https://user-images.githubusercontent.com/10395817/114828736-1a256d80-9d7f-11eb-9938-bb88d6eb7551.png">
Author
Owner

@haupv1m commented on GitHub (Apr 15, 2021):

@liyasthomas Sorry for missing context, I want to binding environment variable into request query params not path params (parameter type must be Query) (as you can see in picture, I have trouble with apiToken binding)

<!-- gh-comment-id:820245480 --> @haupv1m commented on GitHub (Apr 15, 2021): @liyasthomas Sorry for missing context, I want to binding environment variable into request **query params** not **path params** (parameter type must be `Query`) (as you can see in picture, I have trouble with `apiToken` binding)
Author
Owner

@liyasthomas commented on GitHub (Apr 15, 2021):

Oh got it. Looking into now.

<!-- gh-comment-id:820255101 --> @liyasthomas commented on GitHub (Apr 15, 2021): Oh got it. Looking into now.
Author
Owner

@liyasthomas commented on GitHub (Apr 15, 2021):

Screenshot 2021-04-15 at 3 33 15 PM
<!-- gh-comment-id:820302899 --> @liyasthomas commented on GitHub (Apr 15, 2021): <img width="538" alt="Screenshot 2021-04-15 at 3 33 15 PM" src="https://user-images.githubusercontent.com/10395817/114851892-23223900-9d97-11eb-9171-d15ec9eaa277.png">
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#503
No description provided.