title: POST multipart/form-data with NodeRed HTTP request
body: <p>I'm trying to generate a HTTP Webrequest in NodeRed that will upload a file to a website via a normal upload form. I guess i knwo how to upload a file, but i do not know how to pass the other input fieds i have to fill also.</p>
  
  <p>I only found how to set http headers:</p>
  
  <pre><code>msg.headers["content-type"] = "multipart/form-data";
  </code></pre>
  
  <p>This is what i have so far:
  <a href="https://i.stack.imgur.com/RRgNn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RRgNn.png" alt="My current flow"></a></p>
  
  <p>I have also tried in "the missing part" to write the FormData and send the Request manually. (<a href="https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects</a>)</p>
  
  <p>But also no luck with that. Only received an Error that FormData is unknown...</p>