Tweak HTTP Request GET payload handling labels

This commit is contained in:
Nick O'Leary 2020-05-29 17:35:18 +01:00
parent 13718032f6
commit 774751a25c
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 4 additions and 4 deletions

View File

@ -33,6 +33,7 @@
</div>
<div class="form-row node-input-paytoqs-row">
<label for="node-input-paytoqs"><span data-i18n="common.label.payload"></span></label>
<select id="node-input-paytoqs" style="width: 70%;">
<option value="ignore" data-i18n="httpin.label.paytoqs.ignore"></option>
<option value="query" data-i18n="httpin.label.paytoqs.query"></option>
@ -171,7 +172,6 @@
$(".node-input-paytoqs-row").hide();
}
});
console.log("paytoqs: " + this.paytoqs);
if (this.paytoqs === true || this.paytoqs == "query") {
$("#node-input-paytoqs").val("query");
} else if (this.paytoqs === "body") {

View File

@ -409,9 +409,9 @@
"headers": "Headers",
"other": "other",
"paytoqs" : {
"ignore": "Ignore msg.payload",
"query": "Append msg.payload to query-string parameters",
"body": "Send msg.payload as request Body"
"ignore": "Ignore",
"query": "Append to query-string parameters",
"body": "Send as request body"
},
"utf8String": "UTF8 string",
"binaryBuffer": "binary buffer",