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>
|
||||||
|
|
||||||
<div class="form-row node-input-paytoqs-row">
|
<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%;">
|
<select id="node-input-paytoqs" style="width: 70%;">
|
||||||
<option value="ignore" data-i18n="httpin.label.paytoqs.ignore"></option>
|
<option value="ignore" data-i18n="httpin.label.paytoqs.ignore"></option>
|
||||||
<option value="query" data-i18n="httpin.label.paytoqs.query"></option>
|
<option value="query" data-i18n="httpin.label.paytoqs.query"></option>
|
||||||
@ -171,7 +172,6 @@
|
|||||||
$(".node-input-paytoqs-row").hide();
|
$(".node-input-paytoqs-row").hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log("paytoqs: " + this.paytoqs);
|
|
||||||
if (this.paytoqs === true || this.paytoqs == "query") {
|
if (this.paytoqs === true || this.paytoqs == "query") {
|
||||||
$("#node-input-paytoqs").val("query");
|
$("#node-input-paytoqs").val("query");
|
||||||
} else if (this.paytoqs === "body") {
|
} else if (this.paytoqs === "body") {
|
||||||
|
@ -409,9 +409,9 @@
|
|||||||
"headers": "Headers",
|
"headers": "Headers",
|
||||||
"other": "other",
|
"other": "other",
|
||||||
"paytoqs" : {
|
"paytoqs" : {
|
||||||
"ignore": "Ignore msg.payload",
|
"ignore": "Ignore",
|
||||||
"query": "Append msg.payload to query-string parameters",
|
"query": "Append to query-string parameters",
|
||||||
"body": "Send msg.payload as request Body"
|
"body": "Send as request body"
|
||||||
},
|
},
|
||||||
"utf8String": "UTF8 string",
|
"utf8String": "UTF8 string",
|
||||||
"binaryBuffer": "binary buffer",
|
"binaryBuffer": "binary buffer",
|
||||||
|
Loading…
Reference in New Issue
Block a user