Prompt for undefined variables
See original GitHub issueI find for some HTTP requests I use I almost always use a unique value for a variable (e.g. logId, sessionId, etc.). I usually just change the variable in the file but I think it would be even nicer if I could get prompted in a pop-up/modal/dialog window for any undefined variables, they can default to the last used value but the first time it is used it could just be blank and allow me to enter it in.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Prompt variable undefined - javascript - Stack Overflow
I'm assuming that you have two issues: This line effectively does nothing text == message;. Because you used the equality operator ...
Read more >Undefined when using prompt in a function - Sololearn
Undefined when using prompt in a function ... They are all undefined because the variable declarations are inside the function askData. They have...
Read more >Prompting for Input - Getting Undefined Variable
Undefined variable error. I am getting the error undefined variable even after following these steps #read name abcd #echo $name na: undefined variable...
Read more >There's no prompt for undefined variables used in included ...
There's no prompt for undefined variables used in included "File Header" file template ; Project, IntelliJ IDEA ; Priority, Normal N ; Type,...
Read more >Ansible When Variable is defined or undefined Examples
How to check if the variable is empty or defined or undefined in Ansible using ansible ... Execute a task when a variable...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think I have a similar user case.
I use our own apis for a lot of diagnostics against our system. So I might en up with a customer or product id and need to make queries for that but the customer or product id will change almost every time I make the query
so given
How would we elegantly allow the system to (probably prompt) for the unknown value
customer_idper request (or at least if no default?) has been set.right, so for some requests I’ll have some variable that will be unique for every single request, instead of defining the variable somewhere I’d rather get a pop-up window when I try to send the request asking me for the value of any variables in the request that are not defined, this way I can only temporarily define it for just that once when I send the request, the next time I click “Send Request” I’ll get prompted/asked again for the value