Logo

default headers

Version 2.2.22
Install in Core

Overview

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