[GH-ISSUE #2123] [feature]: template in URL like {{hostname}} #713

Closed
opened 2026-03-16 16:49:58 +03:00 by kerem · 4 comments
Owner

Originally created by @igor-betin on GitHub (Feb 18, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2123

Is there an existing issue for this?

  • I have searched the existing issues

Summary

It works in postman

Why should this be worked on?

It's an obvious feature, to change server name with changing environment
It's the only missing feature preventing me from migrating from Postman at the moment

Originally created by @igor-betin on GitHub (Feb 18, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2123 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary It works in postman ### Why should this be worked on? It's an obvious feature, to change server name with changing environment It's the only missing feature preventing me from migrating from Postman at the moment
kerem 2026-03-16 16:49:58 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Feb 18, 2022):

Hi @igor-betin, Hoppscotch already has environments support. Read more about it here: https://docs.hoppscotch.io/quickstart/rest#accessing-environment-data

  1. Goto environments tab from sidebar.
  2. Add environments to "Global" or create a new one and select that environment
  3. Add environment variables
  4. Use double angular brackets (<<environment_variable>>) notation to represent environment variables.

Screenshot 2022-02-18 at 1 31 25 PM

Screenshot 2022-02-18 at 1 33 29 PM

Screenshot 2022-02-18 at 1 34 03 PM

<!-- gh-comment-id:1044095978 --> @liyasthomas commented on GitHub (Feb 18, 2022): Hi @igor-betin, Hoppscotch already has environments support. Read more about it here: https://docs.hoppscotch.io/quickstart/rest#accessing-environment-data 1. Goto environments tab from sidebar. 2. Add environments to "Global" or create a new one and select that environment 3. Add environment variables 4. Use double angular brackets (`<<environment_variable>>`) notation to represent environment variables. ![Screenshot 2022-02-18 at 1 31 25 PM](https://user-images.githubusercontent.com/10395817/154642207-031eb120-4506-40b7-b322-88dcc5bfe18c.png) ![Screenshot 2022-02-18 at 1 33 29 PM](https://user-images.githubusercontent.com/10395817/154642524-8dd457f1-8dcd-45b7-92cf-b6970c4951af.png) ![Screenshot 2022-02-18 at 1 34 03 PM](https://user-images.githubusercontent.com/10395817/154642585-e1a21e3f-d671-4286-9530-24cac93e90c7.png)
Author
Owner

@igor-betin commented on GitHub (Feb 18, 2022):

@liyasthomas
Then it's a different issue - when importing collections from postman, such URLs are blank

<!-- gh-comment-id:1044145181 --> @igor-betin commented on GitHub (Feb 18, 2022): @liyasthomas Then it's a different issue - when importing collections from postman, such URLs are blank
Author
Owner

@liyasthomas commented on GitHub (Feb 18, 2022):

Can you provide a sample file and instructions to reproduce the issue?

<!-- gh-comment-id:1044146184 --> @liyasthomas commented on GitHub (Feb 18, 2022): Can you provide a sample file and instructions to reproduce the issue?
Author
Owner

@igor-betin commented on GitHub (Feb 18, 2022):

@liyasthomas opened bug for it, will provide sample collection soon

<!-- gh-comment-id:1044149387 --> @igor-betin commented on GitHub (Feb 18, 2022): @liyasthomas opened bug for it, will provide sample collection soon
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#713
No description provided.