Skip to content

Variable substitution in binary/external files #11708

Open
@luismoramedina

Description

@luismoramedina

Is there an existing request for this feature?

  • I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

We are working on a project where the requests are heavy jsons (50kb aprox). Our postman collection have several folders and cases, so our collection project file is about 15Mb. This file is stored and shared with coworkers via git and is dificult to do merges and diffs with this file size. We also use variable substitution on requests (with mustache syntax {{}}).

To mitigate this problem we had tried to load our request from external files and make the collection file lighter.

We try to save the request as external file and use body -> binary and load the external file. When we launch the request the present mustache variables in the file are not substituted.

Describe the solution you'd like

Postman substitutes mustache variables on binary files when the files are json. Or maybe a checkbox or feature flag to enable variable substitution...

Describe alternatives you've considered

Load local external file via pre-request but i think is not posible due to security reasons....

Additional context

Related:
#8382
#7210

Activity

luismoramedina

luismoramedina commented on Feb 9, 2024

@luismoramedina
Author

Up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @luismoramedina

        Issue actions

          Variable substitution in binary/external files · Issue #11708 · postmanlabs/postman-app-support