title: Why do I get this 501 Not Implemented error?
body: <p>I am performing the following AJAX call:</p>
  
  <pre><code>$(document).ready(function() {
  
    $.getJSON('https://sendgrid.com/api/user.stats.json',
      {
        'api_user': 'me@mydomain.com',
        'api_key': 'MYAPIKEY',
        'user': 'me@mydomain.com',
        'category': 'MY_CATEGORY'
      },
      function(response){
        alert('received response');
      }
    );
  
  });
  </code></pre>
  
  <p>and I get no alert message as expected. Instead, Firebug says I get "501 Not Implemented."</p>
  
  <p>Why? What do I need to do to fix this?</p>
  
  <p>If I go to the URL corresponding to the AJAX call in Firebug, I get a JSON file as a download, and it contains the expected data.</p>
  
  <p>One thing I've noticed is that firebug says OPTIONS instead of GET:</p>
  
  <p><a href="http://grab.by/grabs/b1a13d92a4fc69aa310880a5d7a06b95.png" rel="nofollow noreferrer">alt text http://grab.by/grabs/b1a13d92a4fc69aa310880a5d7a06b95.png</a></p>