title: How to make an AJAX request to Dictionary.com's REST API using jQuery?
body: <p>Dictionary.com provides absolutely no documentation on how to grab data from them.  I'm trying to use jQuery's ajax requests, but those are not working.</p>
  
  <p>They provide a URL through which I'm supposed to be able to use.  I'll provide this below.</p>
  
  <pre><code>http://api-pub.dictionary.com/v001?vid=&lt;VID&gt;&amp;type=random&amp;site=dictionary
  </code></pre>
  
  <p>They also provide a key, which I assume that I place in the <code>&lt;VID&gt;</code> spot.</p>
  
  <p>Could someone please tell me what I'm doing wrong with this?  I'll provide the code I'm using below:</p>
  
  <pre><code>$("#btnGetData").click(function() {
  
    $.ajax({
      url: "http://api-pub.dictionary.com/",
      type: "GET",
      data: "v001?vid=&lt;VID&gt;&amp;type=random&amp;site=dictionary",
      success: function() { alert("success") },
    });
  
  });
  </code></pre>
  
  <p>Could someone please tell me what I'm doing wrong?</p>