insomnia/packages/insomnia-app/app
Yi Tang 28e7d928a8
Expose the request body for plugins (#2003)
* Expose more request body for plugins

Support the following api for plugins:

- get/set the content type of the request;
- get/add/set the form parameters of the reuqest body;
    adding file form item will be ignored if the mime type is not
    multipath form.
- get/set the uploaded filename of the request;
    setting uploading file name will be ignored if the mime type is not
    octet stream.

* Add some test cases

* Add simple request body api for plugins

* Mark (get|set)BodyText() as deprecated
2020-04-23 11:44:54 -07:00
..
__jest__ Version Control (beta) (#1439) 2019-04-17 17:50:03 -07:00
__mocks__ Version Control (beta) (#1439) 2019-04-17 17:50:03 -07:00
__tests__ Switch back to main httpsnippet module 2019-04-25 21:44:53 -07:00
account Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
common Prevent migrations from running for database.duplicate (#2040) 2020-04-22 11:59:09 +12:00
datasets Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
icons Try fix icons 2019-11-26 17:41:09 -05:00
main Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
models Prevent migrations from running for database.duplicate (#2040) 2020-04-22 11:59:09 +12:00
network Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
plugins Expose the request body for plugins (#2003) 2020-04-23 11:44:54 -07:00
static Try fix CI 2019-10-08 16:46:17 -07:00
sync Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
sync-legacy Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
templating Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
ui fix: Escape key in editble field closing modals (#2039) 2020-04-22 12:28:28 -07:00
main.development.js Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
renderer.html Unify build config in one place 2019-09-17 17:02:42 -07:00
renderer.js Merge All Repositories into Monorepo for easier maintenance (#629) 2017-11-26 20:45:40 +00:00