insomnia-plugin-query-parameter-tag
Version:
Insomnia plugin for use query parameter value from Query tab as a tag
42 lines (31 loc) • 2.4 kB
Markdown
> An **[Insomnia]** plugin based on the *request built-in plugin* to allow you to use the query parameter value from the Query tab as a tag.
<img src="./icon.png" align="right" width="66" />
# Query Parameter Tag
<!-- FIXME show NPM Badge when plugin url is available -->
[](https://insomnia.rest/plugins/insomnia-plugin-query-parameter-tag)[](https://www.npmjs.com/package/insomnia-plugin-query-parameter-tag)[](https://github.com/fabiosousapro/insomnia-plugin-query-parameter-tag "Go to GitHub repo")
<!-- FIXME show Github Start Badge when repository public is available -->
<!--  -->
<!-- FIXME show Install methods when plugin url is available -->
## Install
<!-- [](insomnia://plugins/install?name=insomnia-plugin-query-parameter-tag "Install this plugin") -->
+ In **[Insomnia]** app
+ Go to `Application` > `Preferences` > `Plugins`
+ Type `insomnia-plugin-query-parameter-tag` on input field
+ Click on `Install Plugin`.
## Usage
+ **Add parameters first**
- In the `Query tab`
- Add the parameter *names* and *values*
- *\(Optional)* Uncheck `Enable item` on each
>
+ **Using the tag**
- Press `Ctrl + Space` to insert `Query Parameter`
- or type `{% queryParam %}` and click on tag
- Type *PARAMETER_NAME* on input field `Query Parameter Name`
>
+ **Using the tag (short method)**
- Type `{% queryParam 'PARAMETER_NAME' %}`
## Screenshot
[<img src="./screenshot_01.jpeg" alt="Screenshot 01" width="49%" />](https://raw.githubusercontent.com/fabiosousapro/insomnia-plugin-query-parameter-tag/master/screenshot_01.jpeg)
[<img src="./screenshot_02.jpeg" alt="Screenshot 02" width="49%" />](https://raw.githubusercontent.com/fabiosousapro/insomnia-plugin-query-parameter-tag/master/screenshot_02.jpeg)
[Insomnia]: https://insomnia.rest