Back to plugins
Install Plugin
ask before sending
Version 1.1.0
Overview
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
- Open Insomnia
- Go to Application > Preferences > Plugins
- Type "insomnia-plugin-ask-before-sending"
- Click "Install Plugin"
Manual Installation
- Download "insomnia-plugin-ask-before-sending.zip" from Releases > Assets
- Go to Application > Preferences > Plugins
- Click "Show Plugins Folder"
- Extract the zip from step 1 to the "plugins" folder
- Click "Reload Plugin List"
Configuration
Update your environment:
- Click "Manage Environments"
- Create a "askBeforeSending" environment variable with the HTTP methods that need confirmation before sending:
{
"askBeforeSending": ["POST", "PUT", "DELETE"]
}
- 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_
.