This package has been deprecated

Author message:

Package no longer supported. Use at your own risk.

insomnia-plugin-default-headers

3.6.0 • Public • Published

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"
  }
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i insomnia-plugin-default-headers

      Weekly Downloads

      180

      Version

      3.6.0

      License

      MIT

      Unpacked Size

      3.19 kB

      Total Files

      5

      Last publish

      Collaborators

      • insomnia-admin
      • gschier