1.3.2 • Published 1 year ago

insomnia-plugin-inception v1.3.2

Weekly downloads
5
License
MIT
Repository
github
Last release
1 year ago

Inception plugin for Insomnia

Plugin for Insomnia to encode json within json. The name inception is a pop culture reference to the movie with the same title where people dream within a dream. Insomnia is a REST/HTTP client.

Use case

Many APIs are "envelope" APIs, that is they have a JSON model/schema and can carry a user-defined payload as a string value. Often this payload is also a JSON and needs to be encoded/escaped as a plain JSON string, becoming difficult to read and edit.

This plugin allows writing un-encoded JSON in the body editor to benefit from features like syntax highlighting and beautify.

Installation

Inception plugin can be installed like any other plugin: Managing Insomnia Plugins. The node package name is insomnia-plugin-inception.

Usage

Place the JSONString template tag anywhere in the name of the property which needs encoding.

This is an example to publish a message with JSON payload in RabbitMQ Management API:

body editor

When the request is sent the property is encoded:

body request

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago