title: CSRF token missing or invalid
body: <p>I have this error: </p>
  
  <blockquote>
    <p>"CSRF Failed: CSRF token missing or incorrect."</p>
  </blockquote>
  
  <p>and according to many answers, this is the way to fix it:</p>
  
  <pre><code>jQuery.ajax({
      url: '/api/v1/order/'+orderid+'/',
      type: 'PUT',
      data: {
          csrfmiddlewaretoken: "{{ csrf_token }}"
      }
  });
  </code></pre>
  
  <p>However, in my case, it doesn't. I always get that HTTP 403 error. I am sure the token gets sent, Firebug shows me <code>csrfmiddlewaretoken=jI8P6LfZ1p1OqIv3ikOU1VPFePjFjFnD</code> in the <code>PUT</code> request.</p>
  
  <p><strong>Edit</strong> When using <code>POST</code> as verb, it works as expected.</p>