Skip to content

Double quotes in curl snippets #106

Description

@demystifier

Currently curl snippets are generated with single quotes. Yes, improved readability as discussed in this issue however it takes away the ability to have env variables in curl and let shell replace them.

FR: Anyway you can add a user controlled option to generate curl snippets with double quotes?

UseCase:
I landed on this page after opening a FR with a platform that uses httpsnippet. For headers like authorization tokens, it is very helpful to set them as env variable in the generated snippets and let the users set those env variables in shell.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions