title: How to send files with superagent
body: <p>So about a month ago I asked <a href="https://stackoverflow.com/questions/30738201/sending-files-over-ajax-superagent-to-a-php-backend-laravel">a question</a> regarding superagent and sending files, but got no response at all. I would still like to find out how to do this as I enjoy using superagent.</p>
  
  <p>I am able to send files using plain ajax:</p>
  
  <pre><code>var fd = new FormData();
          fd.append( 'file', this.refs.File.getDOMNode().files[0] );
  
          $.ajax({
              url: 'http://localhost:8080/files',
              data: fd,
              processData: false,
              contentType: false,
              type: 'POST',
              success: function(data){
                  console.log(data)
              }
          });
  </code></pre>
  
  <p>But when I try the same thing in superagent, nothing works:</p>
  
  <pre><code>var fd = new FormData();
  fd.append( 'file', this.refs.File.getDOMNode().files[0] );
  
  Request.post('http://localhost:8080/files')
      .set('Content-Type', false)
      .set('Process-Data', false)
      .attach('file', fd, 'file')
      .end((err, res) =&gt; {
          console.log(err);
          console.log(res);
      })
  </code></pre>
  
  <p>Can anyone, please, tell me whats going on.</p>