[GH-ISSUE #1612] How do I use the environment variables? Is there a demo? #508

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

Originally created by @illeagalName on GitHub (Apr 22, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1612

Originally created by @illeagalName on GitHub (Apr 22, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1612
kerem closed this issue 2026-03-16 15:46:11 +03:00
Author
Owner

@illeagalName commented on GitHub (Apr 22, 2021):

aha,I know how to use it, I use this notation {{}} all the time, so I'm going to use this notation <<>>

<!-- gh-comment-id:824476939 --> @illeagalName commented on GitHub (Apr 22, 2021): aha,I know how to use it, I use this notation {{}} all the time, so I'm going to use this notation <<>>
Author
Owner

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

Glad you figured it out. Here's the Wiki page for pre-request scripts and hiw to set environments: https://github.com/hoppscotch/hoppscotch/wiki/Pre-Request-Scripts

Closing this issue.

<!-- gh-comment-id:824494833 --> @liyasthomas commented on GitHub (Apr 22, 2021): Glad you figured it out. Here's the Wiki page for pre-request scripts and hiw to set environments: https://github.com/hoppscotch/hoppscotch/wiki/Pre-Request-Scripts Closing this issue.
Author
Owner

@mhmda-83 commented on GitHub (Jun 30, 2021):

i have and Environment called "sample"
and this environment has one variable ("name")
how can i use name enviroment variable?
@liyasthomas

<!-- gh-comment-id:871270045 --> @mhmda-83 commented on GitHub (Jun 30, 2021): i have and Environment called "sample" and this environment has one variable ("name") how can i use name enviroment variable? @liyasthomas
Author
Owner

@liyasthomas commented on GitHub (Jun 30, 2021):

You can use <<sample>> in the request section after selecting the created environment from right sidebar. Demo

<!-- gh-comment-id:871271645 --> @liyasthomas commented on GitHub (Jun 30, 2021): You can use `<<sample>>` in the request section after selecting the created environment from right sidebar. [Demo](https://github.com/hoppscotch/hoppscotch/wiki/Pre-Request-Scripts)
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#508
No description provided.