insomnia/packages/insomnia-app/app/plugins/context/__tests__
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
..
app.test.js New plugin API for showing custom UI inside a dialog (#2026) 2020-04-06 14:31:03 -07:00
data.test.js Add workspace action plugins and expose context.data helpers (#1901) 2020-01-20 13:07:07 -05:00
request.test.js Expose the request body for plugins (#2003) 2020-04-23 11:44:54 -07:00
response.test.js Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
store.test.js Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00