Back to plugins
Logo

json encode file

Version 1.0.0
Install Plugin

Overview

Insomnia plugin for injecting contents of a file as a json encoded string

This is a plugin for Insomnia that will JSON encode the contents of a file into the body of a request

Installation

Install the insomnia-plugin-json-encode-file plugin from Preferences > Plugins.

Usage

  1. Create request with JSON body
  2. Add "JSON Encode Text File" template by selecting it from auto complete context menu (ctrl + space) image
  3. Click on template tag to configure