title: getJSON returns "undefined" value
body: <p>I am trying to learn how to make API calls with JSON and I am getting an "undefined" result. The API is for an invoice web app (<a href="http://www.curdbee.com" rel="nofollow">www.curdbee.com</a>) and I am wanting the results to be a list of each client name. Right now, I get a list but each result is "undefined". Here is my jQuery code so far:</p>
  
  <pre><code>$(function () {
      $.getJSON('https://nspirelab.curdbee.com/clients.json?api_token=', function (data) {
          $.each(data, function (index, item) {
              $('#results').append('&lt;div class="invoice"&gt;' + item.name + '&lt;/div&gt;');
          });
      });
  });
  </code></pre>
  
  <p>Also, in the actual script, my api token is included. </p>