Skip to content

Feature request: prompting for user input #238

@mawkler

Description

@mawkler

This plugin is super awesome! One feature that I would really love is the ability to prompt for input. I know that I can use variables in .env files, however the use case I see is for authentication with username and password, since I don't want to store my passwords in plaintext.

This is what I imagine: when a request with a prompt variable in it is sent a prompt is created with vim.ui.input, and whatever the user types in can then be used as a variable in the request. Bonus point if any password prompt variables get censored in the Command line in httpResult window.

For inspiration, in VSC*de's REST Client prompt variables are prefixed with prompt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions