title: How to access Docusign API via browser javascript?
body: <p>I'm building a browser based application in Javascript. I've tried to access the docusign api via jQuery:</p>
  
  <pre><code>$.support.cors = true;
  $.ajax({crossDomain:true, url:"https://demo.docusign.net/restapi/v2"})
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://demo.docusign.net/restapi/v2?_=1407189114238. This can be fixed by moving the resource to the same domain or enabling CORS.
  </code></pre>
  
  <p>Accessing other APIs such as yahoo, totally works:</p>
  
  <pre><code>$.ajax({crossDomain:true, url:"https://query.yahooapis.com/v1/public/yql"})
  </code></pre>
  
  <p>Is there a special thing that I need to do for docusign api? Thanks. (Note: My examples here use blank queries to illustrate whether an api is accessible at all. The actual code uses real queries. This problem is not caused by not having a real query. You can see this yourself by pasting the above url into your browser and see that it returns some xml.)</p>