This is a plugin for Insomnia that allows encoding a file with base64.
Install the insomnia-plugin-base64-file
plugin from Preferences > Plugins.
Insomnia plugin that encodes a file with base64
This is a plugin for Insomnia that allows encoding a file with base64.
Install the insomnia-plugin-base64-file
plugin from Preferences > Plugins.
Dear @joetyson
Thank for the plugin, it is very useful.
I guess you should add an option to include or not the FILE HEADER.
The file header is a declaration of the file type and format usually needed for those WEB API that need to save\post elaborate the file in somehow.
E.g.: Now i must do this within insomnia
{
"image": "data:image/jpeg;base64,{% base64file 'file path', false %}",
"pdf": "data:application/pdf;base64,{% base64file 'file path', false %}"
}
So it will be very cool to include or not the string data:image/jpeg;base64,
maybe automatically recognized by choosen file.
For reference here: MDN MIME types
writing something in README file will be helpful, thanks
To Reproduce
Add file with size more than 1M, and see white screen on program.
Error in devtools:
(node:15612) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Expected behavior
It should open
App information:
Insomnia Version: 2020.3.3
Shell: 3.1.13
Node: 10.2.0
V8: 6.6.346.32
OS: windows 10 pro 2004
Installation as per instructions fails due to missing license field
Error: Error invoking remote method 'installPlugin': Error: Yarn error {"type":"warning","data":"package.json: No license field"}
Dear @joetyson
I'm using your useful plugin and it works perfectly.
There is boring bug in case, after configured properly the dialog, i want to re-open it and change "QUOTE" flag.
The dialog seems to loose the file path and, specially in windows, seems to loose the path separator ""; so i must browse again for the file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.