AnsweredAssumed Answered

Using ASP.NET 4.5/IIS 7/MVC 5/Web API 2/Ajax (URL Rewrite reverse proxy) to call Finesse Server

Question asked by Estrelito.J.Gonzales1 on Jul 3, 2015
Latest reply on Jul 27, 2015 by ewindgat
Hi,
I am new to developing in Finesse. I was following an example  (non gadget) to write an ASP.NET web app. Using JQuery 1.10 from VS2013
On the browsers address bar it works fine (I have to enter the credentials first before the XML result is displayed)
f I use ajax, it fails with a 415 error:
415_error001.jpg
Below is the code I used to do the call. Passing all args to ajax properly here:
JAVASCRIPTCODE.JPG
Here are the headers from fiddler:
fiddler.JPG
So I have 2 issues:
1. How do I suppress the login dialog for basic Authorization, even if all headers were submitted correctly?
I am already passing the token to ajax and yet the pop out still appears.
JAVASCRIPTCODE_001.JPG
2. I get a 415 error response after authenticating using the popup dialog
Can you please help me to resolve these issues?
Appreciate it.
Jason

Outcomes