insomnia-plugin-sanitize-url-html
v1.0.1
Published
Replace HTML entities in URLs with their respective symbols, for Insomnia REST Client
Downloads
996
Maintainers
Readme
insomnia-plugin-sanitize-url-html
Remove HTML entities from a URL in Insomnia REST Client, and replace it with its corresponding symbol.
Installation
From Insomnia Plugin Hub
- Navigate to https://insomnia.rest/plugins/insomnia-plugin-sanitize-url-html
- Click Install Plugin
- Click Open
- Once opened, click Install
From the Insomnia App
- Go to Application > Preferences or click the cog icon (⚙️)
- Navigate to the Plugins tab
- Enter
insomnia-plugin-sanitize-url-html
- Click Install
Manual Install
- Using a terminal,
cd
into your Insomnia plugins folder - see Insomnia Docs - Run
git clone https://github.com/okdv/insomnia-plugin-sanitize-url-html
- Run
cd insomnia-plugin-sanitize-url-html
Usage
By default, this plugin is active on all requests, and requires not action on part of the user! Simply run requests as you normally would, if there is a URL that needs HTML entities removed- the plugin will pick it up and do so automatically before the request is sent. Visually, the URL will remain unchanged in the address bar, however you can see the magic by retrieving the request (see insomnia docs) or inspecting the request in the timeline tab of the result window.
Enable/Disable plugin
- Simply right click on a request or folder in the navigation bar in Insomnia. In the popup, select "Allow HTML Entities in URL" and boom you're done! The plugin will simply ignore all entities in the request, or if a folder- all requests in that folder.
- To enable the plugin again, simply do the opposite of the above. Except instead choose "Remove HTML Entities in URL" in the popup.
- Alternatively, you can always disable the entire plugin in Insomnia, see Insomnia Docs.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.