insomnia-plugin-ask-before-sending

1.1.0 • Public • Published

insomnia-plugin-ask-before-sending

Table of Contents

Overview

An Insomnia plugin that asks for confirmation before sending a request, useful for production environments.

Usage

Installation

From the Plugins Tab

  1. Open Insomnia
  2. Go to Application > Preferences > Plugins
  3. Type "insomnia-plugin-ask-before-sending"
  4. Click "Install Plugin"

Manual Installation

  1. Download "insomnia-plugin-ask-before-sending.zip" from Releases > Assets
  2. Go to Application > Preferences > Plugins
  3. Click "Show Plugins Folder"
  4. Extract the zip from step 1 to the "plugins" folder
  5. Click "Reload Plugin List"

Configuration

Update your environment:

  1. Click "Manage Environments"
  2. Create a "askBeforeSending" environment variable with the HTTP methods that need confirmation before sending:
{
  "askBeforeSending": ["POST", "PUT", "DELETE"]
}
  1. You can also prevent the confirmation popup from appearing for specific requests through the "askBeforeSendingIgnoreRequests" environment variable:
{
  "askBeforeSending": ["POST", "PUT", "DELETE"],
  "askBeforeSendingIgnoreRequests": ["req_3af401b1f07f4cad9c3f657d08ea7a6d"],
}

To find out the request ID, right-click the request and select "Settings". The request ID will be at the top, beginning with req_.

Package Sidebar

Install

npm i insomnia-plugin-ask-before-sending

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

4.6 kB

Total Files

5

Last publish

Collaborators

  • brunobastosg