title: Vimeo Integration Advance API - HTML5
body: <p>I have created vimeo account and app with video upload also got approved.<br>
  When I try to upload video to vimeo server, I unable to upload.<br>
  I don't know how Oauth works.Please find my code below.    </p>
  
  <pre><code>function test()
    {$.support.cors = true;
      var formData = {method:"vimeo.videos.upload.getQuota",format:"xml"};
          $.ajax({
            type: "POST",
            url: "http://vimeo.com/api/rest/v2",
             xhrFields: {
              withCredentials: true
          }, 
            data : formData,
            dataType: 'jsonp',
            crossDomain : true,
            beforeSend: function (xhr) {              
                 xhr.setRequestHeader("Authorization","Basic xsd"}
  
      });
      }     
  </code></pre>