mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
improved info panel UI
This commit is contained in:
parent
a9bf3d0226
commit
7063a88513
@ -132,7 +132,9 @@
|
|||||||
<p>For form-based file uploads, some services require that <code>msg.headers["content-type"]</code> be set to <code>multipart/form-data</code>.
|
<p>For form-based file uploads, some services require that <code>msg.headers["content-type"]</code> be set to <code>multipart/form-data</code>.
|
||||||
To construct <code>msg.payload</code> for this type of request, use the following structure and substitue the <code>KEY</code>, <code>DATA</code>, and <code>FILENAME</code>
|
To construct <code>msg.payload</code> for this type of request, use the following structure and substitue the <code>KEY</code>, <code>DATA</code>, and <code>FILENAME</code>
|
||||||
values for your own.
|
values for your own.
|
||||||
<pre><code>req.formData = {
|
<pre><code>msg.headers = {'content-type':'multipart/form-data'}
|
||||||
|
|
||||||
|
msg.payload = {
|
||||||
KEY: {
|
KEY: {
|
||||||
value: DATA,
|
value: DATA,
|
||||||
options: {
|
options: {
|
||||||
|
Loading…
Reference in New Issue
Block a user