mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Merge branch 'develop' of github.com:getinsomnia/insomnia into develop
This commit is contained in:
commit
8be0f36c71
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user