success funtion not called even i got the 200 status code in network tab developer tool.
var isServiceUp=false;
do{
var response=jQuery.ajax({
url : "https://127.0.0.1:18647/dcs/dcs_6200808/",
method : "POST",
//data : formData,
//cache : false,
//async : false,
success : function(data, textStatus, jqXHR){
//debugger;
console.log("hey i am up");
isServiceUp=true;
},
error : function(jqXHR, textStatus, errorThrown){
}
});
}while(!isServiceUp)