update template code
This commit is contained in:
1 parent
ba74345be1
commit
df76f2b35a
8 files changed
+78
-21
No files matched your search
@@ -2,12 +2,12 @@ const options = {
|
||||
method: '{{{method}}}',
|
||||
headers: {
|
||||
{{#headers}}
|
||||
'{{{key}}}': '{{{value}}}'{{^last}},{{/last}}
|
||||
'{{{key}}}': {{{value}}}{{^last}},{{/last}}
|
||||
{{/headers}}
|
||||
},
|
||||
body: JSON.stringify({
|
||||
{{#body}}
|
||||
{{{key}}}: '{{{value}}}'{{^last}},{{/last}}
|
||||
'{{{key}}}': {{{value}}}{{^last}},{{/last}}
|
||||
{{/body}}
|
||||
})
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user