hoppscotch / hoppscotch

Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)

Home Page:https://hoppscotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature]: prompt for input/variable

billriess opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Summary

It would be nice if we could get "prompt" support to allow filling out a variable or specific input at runtime. This is a common feature on other REST clients such as Insomnia and Postman. The basic idea is that you can issue a dialog box to "prompt" you for input when you execute a request. You could have syntax like GET https://someapi.test/user/<!id!>/ which would trigger a dialog input for the value of id in this case.

Why should this be worked on?

Insomnia and Postman both support this and it would help make it easier for others to transition over to hoppscotch.

Hi @billriess, you can use Hoppscotch's request variables to provide an input at runtime. There's no prompt, but I think this could help.

https://docs.hoppscotch.io/documentation/features/variables#variable-scopes

request_variables.mp4