We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd79e8 commit f8fa871Copy full SHA for f8fa871
src/targets/rapidql/rapidql.js
@@ -31,7 +31,7 @@ module.exports = function (source, options) {
31
code.push(` json: true,`)
32
code.push(` body: ${source.postData.text}`)
33
} else if(source.postData.params) {
34
- code.push(` form : {\n${Object.entries(source.postData.params).map(([key, val]) => `"${key}":"${val}"`).join(",\n")}\n }`);
+ code.push(` form : {\n${source.postData.params.map(param => `"${param.name}":"${param.value}"`).join(",\n")}\n }`);
35
} else {
36
code.push(` body : ${source.postData.text}`);
37
}
0 commit comments