title: UCWA Autodiscovery Response from Lync
body: <p>I'm trying to make a UCWA application that connects to a Lync server. For now I'm just using the sandbox provided on ucwa.lync.com</p>
  
  <p>I have been looking at the samples but I want to simplify it as much as possiple folowing the steps on
  <a href="http://ucwa.lync.com/documentation/KeyTasks-CreateApplication" rel="nofollow">http://ucwa.lync.com/documentation/KeyTasks-CreateApplication</a> </p>
  
  <p>Here is what I got:</p>
  
  <pre><code>var url = "https://lyncdiscover.gotuc.net" ;
  $.ajax({
      url: url,
      dataType: "jsonp",
      success: (data) =&gt; {
          alert("success");
      }
  });
  </code></pre>
  
  <p>I was hoping this would return the hrefs for user and xframe, but I get a mime type error:</p>
  
  <blockquote>
    <p>Refused to execute script from '-shortened-' because its MIME type ('application/json') is not
    executable, and strict MIME type checking is enabled.</p>
  </blockquote>
  
  <p>Can anyone point me in the right direction here?</p>