title: While submitting after uploading file, form data seems to be blank
body: <p>I am trying to upload multiple files in angular-11, so on submitting the form, <code>FormData</code> object is showing blank on console, however, I already appended the files.</p>
  <p><strong>add-product.component.html</strong></p>
  <pre><code>&lt;div class=&quot;display-flex flex-direction-column width-33&quot;&gt;
     &lt;label class=&quot;form-label control-label&quot; for=&quot;file&quot;&gt;Attachment&lt;/label&gt;
     &lt;input type=&quot;file&quot; id=&quot;file&quot; (change)=&quot;upload($event)&quot; class=&quot;form-control&quot; formControlName=&quot;attachment&quot;&gt;
  &lt;/div&gt;
  </code></pre>
  <p><strong>add-product.component.ts</strong></p>
  <pre><code>upload(event: any) {
      let files = event.target.files;
      let fData: FormData = new FormData();
      let file :Array&lt;any&gt; = [];
      console.log(&quot;files&quot;,files)
      for (var i = 0; i &lt; files.length; i++) {
          fData.append(&quot;file&quot;, files);
          console.log(&quot;fData inside loop&quot;,fData)
      }
      //fData.append(&quot;data&quot;, JSON.stringify(_data));
      console.log(&quot;fData&quot;,fData)
      console.log(&quot;files[i]&quot;,files[0])
  }
  </code></pre>
  <p>I am not able to figure out what went wrong with <code>FormData</code> object, I have gone through a lot of posts but didn't get much help. The conclusion is I am not able to upload files or more precisely not able to send binary data to the server. Please suggest to me the best solution for the same.</p>
  <p>The snapshot for reference has been attached below -</p>
  <p><a href="https://i.stack.imgur.com/t92bf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t92bf.png" alt="enter image description here" /></a></p>
  <p><strong>Edits</strong></p>
  <p>I am getting this on network tab, how I can see my uploaded files?</p>
  <p><a href="https://i.stack.imgur.com/SU1GJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SU1GJ.png" alt="enter image description here" /></a></p>