Socket
Book a DemoInstallSign in
Socket

insomnia-plugin-default-headers

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insomnia-plugin-default-headers

Various data importers for Insomnia

latest
Source
npmnpm
Version
3.6.0
Version published
Weekly downloads
10
-88.76%
Maintainers
4
Weekly downloads
 
Created
Source

Insomnia Default Headers

Npm Version

This is a plugin for Insomnia that allows users to set default headers for requests.

Installation

Install the insomnia-plugin-default-headers plugin from Preferences > Plugins.

Usage

Headers can be added by setting a DEFAULT_HEADERS environment variable.

{
  "DEFAULT_HEADERS": {
    "Content-Type": "application/json",
    "Connection": "close"
  }
}

Default header can be removed by setting value to null. For example, use folder environment variables to remove authorization header from anonymous calls

{
  "DEFAULT_HEADERS": {
    "Authorization": "null"
  }
}

FAQs

Package last updated on 27 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts