title: Image or file corrupted when success upload
body: <p>Hi im trying to upload file or image in my dropbox using dropzone. and when it successfully upload in my dropbox it just corrupted it cant be preview.. I was wondering if there's a problem with my codes in getting a file </p>
  
  <p>This is my processing method inside of my <code>init: function()</code></p>
  
  <pre><code>    this.on("processing", function(file) {
  
           var url = 'https://content.dropboxapi.com/2/files/upload';
           var file = dropzone.files[0];  
           var filename = file.name;
  
  
           $.ajax({
             url: url,
             type: 'post',
             processData: false,
             contentType: 'application/octet-stream',
             headers: {
             "Authorization": "ACCESS TOKEN",
             "Dropbox-API-Arg": '{"path": "/'+filename+'","mode": "add"}'
             },
  
             success: function (data){
            alert('Success Upload');
              /*this.options.url = url;*/
              console.log(data);
             }
  
            })
  
    });
  </code></pre>