diff --git a/nodes/core/io/21-httprequest.html b/nodes/core/io/21-httprequest.html index 42c0cbc34..c71562b78 100644 --- a/nodes/core/io/21-httprequest.html +++ b/nodes/core/io/21-httprequest.html @@ -132,7 +132,9 @@
For form-based file uploads, some services require that msg.headers["content-type"]
be set to multipart/form-data
.
To construct msg.payload
for this type of request, use the following structure and substitue the KEY
, DATA
, and FILENAME
values for your own.
-
req.formData = {
+msg.headers = {'content-type':'multipart/form-data'}
+
+msg.payload = {
KEY: {
value: DATA,
options: {