title: How to use Angellist API?
body: <p>I am trying to use the Angellist API but having no luck and unfortunately their <code>Test Endpoint</code> feature fails.  Here is the code that I currently have:</p>
  
  <pre><code>const rp = require('request-promise');
  const key = 'MY_API_KEY';
  
  var options = {
      url: `https://community-angellist.p.mashape.com/jobs?access_token=${key}`,
      json: true,
      method: 'GET',
      headers: {
          "X-Mashape-Key": key,
          'Authorization': 'Bearer ' + key,
          "Accept": "application/json",
          'Content-Type' : 'application/json'
      }
  };
  
  rp(options)
  .then(response =&gt; {
      console.log('RESPONSE: ', response);
  });
  </code></pre>
  
  <p>I am getting the error <code>{"message":"Invalid Mashape Key"}</code></p>
  
  <p><strong>EDIT:</strong> Just to clarify, I am replacing <code>MY_API_KEY</code> with my actual api key.  It is not clear if I am passing the key in the correct part of the request because <code>"X-Mashape-Key": key</code> in the <code>Headers</code> does not seem to work.</p>
  
  <p>Can someone please tell me how to make a simple request to the Angellist API to get all jobs?</p>