mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-17 12:38:52 -04:00
Merge branch 'develop' of github.com:getinsomnia/insomnia into develop
This commit is contained in:
commit
8be0f36c71
1 file changed
+6
@@ -15,6 +15,9 @@ export function init (
|
||||
getId (): string {
|
||||
return renderedRequest._id;
|
||||
},
|
||||
getBodyText (): string {
|
||||
return renderedRequest.body.text;
|
||||
},
|
||||
getName (): string {
|
||||
return renderedRequest.name;
|
||||
},
|
||||
@@ -24,6 +27,9 @@ export function init (
|
||||
getMethod (): string {
|
||||
return renderedRequest.method;
|
||||
},
|
||||
setBodyText (text: string): void {
|
||||
renderedRequest.body.text = text;
|
||||
},
|
||||
setCookie (name: string, value: string): void {
|
||||
const cookie = renderedRequest.cookies.find(c => c.name === name);
|
||||
if (cookie) {
|
||||
|
||||
Reference in new issue
Block a user