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
I have been looking at the samples but I want to simplify it as much as possiple folowing the steps on http://ucwa.lync.com/documentation/KeyTasks-CreateApplication
Here is what I got:
var url = "https://lyncdiscover.gotuc.net" ;
$.ajax({
url: url,
dataType: "jsonp",
success: (data) => {
alert("success");
}
});
I was hoping this would return the hrefs for user and xframe, but I get a mime type error:
Refused to execute script from '-shortened-' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
Can anyone point me in the right direction here?