title: Vue File Upload with Parameters
body: <p>Hi Guys i create a component to upload files and its working so far, but along with the data I'll like to pass some parameters too, for example </p>
  
  <p>HTML</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="col-md-4"&gt;
        &lt;div class="container"&gt;
          &lt;div class="large-12 medium-12 small-12 cell"&gt;
            &lt;label&gt;
              Files
        v-on:click="upload()"&gt;Submit&lt;/v-btn&gt;
          &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Script </p>
  
  <pre class="lang-js prettyprint-override"><code>import
            axios.post('/api/upload', this.files)
        .then(resuta);
      }, error =&gt; {
        console.error(error);
      });
    }
  </code></pre>
  
  <p>here (axios.post('/api/upload', this.files)) i would like to include
  <strong>email: this.profile.email</strong></p>
  
  <p>Because I'm adding this parameter to the file name on my backend</p>
  
  <p>Controller</p>
  
  <pre class="lang-c# prettyprint-override"><code>[HttpPost, DisableRequestSizeLimit]
      public ActionResult UploadFile(string email)
      {
  
          var files = Request.Form.Files;
          foreach (var file in files)
          {
  
                  }
              }
  
          }
          return Ok();
      }
  </code></pre>