I have a web site with a sub domain which are on https.Befor switching to https, I had a page and a js file inside web site which sends request to web api. everything works fine untile I switched to https. After that none of my requests accepted by web api in subdomain. In fiddler I get 502 error:
System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https
$.get("https://api.mydomain.com/api/CaptchaImage/GetCaptcha", {}).done(function(data) {
$("#captcha").attr("src", "data:image/jpeg;base64," + data[0].CaptchaImage);
$("#hdnCaptcha").val(data[0].CaptchaText);})