We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be helpful, if we could ask for user input in pre-request/post-response sections of the Bruno GUI somehow.
pre-request/post-response
I tried some approaches, but to no avail so far (not a frontend developer, please bear with me):
prompt
prompt is not defined
prompt-sync
ENXIO: no such device or address, open '/dev/tty'
script:pre-request { const prompt = require('prompt-sync')(); const answer = prompt('Please enter firstname:'); console.log(`You entered: ${answer}`); }
readline
Operation not allowed on contextified object.
script:pre-request { const readline = require('readline'); const rli = readline.createInterface({ input: process.stdin, output: process.stdout }); rli.question('Please enter firstname: ', (answer) => { console.log(`You entered: ${answer}`); rli.close(); }); }
The text was updated successfully, but these errors were encountered:
anusree-bruno
No branches or pull requests
I have checked the following:
Describe the feature you want to add
It would be helpful, if we could ask for user input in
pre-request/post-response
sections of the Bruno GUI somehow.I tried some approaches, but to no avail so far (not a frontend developer, please bear with me):
prompt
does not work (prompt is not defined
)prompt-sync
does not work (ENXIO: no such device or address, open '/dev/tty'
)readline
does not work (Operation not allowed on contextified object.
)Mockups or Images of the feature
The text was updated successfully, but these errors were encountered: