title: Why doesn't the redirect_url parm work on my Vimeo ajax POST?
body: <p>I am experiencing a problem using the Vimeo upload API to upload a video to Vimeo from our webpage, even though I have the proper &quot;Accept&quot; header set to version 3.4 as designated on Vimeo's API pages. Can anyone advise as to why the redirect_url parm is not working? Everything else works and the video is uploaded, but the redirect does not occur. Here is my complete page:</p>
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
  
  &lt;link rel=&quot;stylesheet&quot; href=&quot;//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css&quot;&gt;
  &lt;link href=&quot;/include/jquerymmenu/jquery.mmenu.all.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
  &lt;script src=&quot;https://code.jquery.com/jquery-2.1.4.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://code.jquery.com/ui/1.12.1/jquery-ui.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;application/javascript&quot;&gt;
  $.ajax({
          type: 'POST',
          url: 'https://api.vimeo.com/me/videos',
          upload: {
                  approach: &quot;post&quot;,
                  redirect_url: 'https://www.example.com'
              },
          headers: {
               'Authorization': 'bearer ' + '&lt;&lt;my token here&gt;&gt;',
               'Content-Type': 'application/json',
               'Accept': 'application/vnd.vimeo.*+json;version=3.4'
             },
          
          success: function(res){
              console.log(res);
              // Write the form to the page
              $(&quot;div#myform&quot;).html(res.upload.form);
          },
          error: function(err){
              console.log(err);
          }
      });
  &lt;/script&gt;
  
  &lt;meta charset=&quot;utf-8&quot;&gt;
  &lt;title&gt;Untitled Document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id=&quot;myform&quot;&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>