mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Tweak HTTP Request GET payload handling labels
This commit is contained in:
parent
13718032f6
commit
774751a25c
@ -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") {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user