I am new to the CS REST API. I've got a local file that can authenticate to the CS REST APIs just fine, but when I try to run through an IIS server using Integrated Windows Authentication and ASP.NET Impersonation, I'm unable to generate the OTCSTICKET. Using Fiddler, I see that I'm getting a 401 error. Our CS environment authenticates using Directory Services. Any help, and examples or direction would be a huge help. I've looked through other postings, but so far nothing I've tried seems to work.
Here's the jQuery ajax call we're trying to make:
var otcsticket;
$.ajax({
type: "POST",
url: "http://llprimedev.santeecooper.com/cmis/livelink.exe/api/v1/auth",
data: { username: "User", password: "Password" }
}).done(function (data) {
otcsticket = data.ticket;
$('#messageArea').append("succeeded, otcsticket:", otcsticket);
}).fail(function (request, statusText, statusMessage) {
$('#messageArea').append("failed, message:", statusMessage);
});
Thanks in advance!