Hi experts,
Just want to ask what is my error my code, I've got an error "ERR_INSECURE_RESPONSE". I think this might an error for certificate. What should I do.
$(function () { //When button with id login is pressed $("#btnLogin").click(function () { var button = $(this); //REST Call using jQuery Ajax function $.ajax({ type: "POST", url: "https://192.168.1.30:50000/b1s/v1/Login", dataType: "json", contentType: "application/json", data: JSON.stringify({ "UserName": "manager", "Password": "manager", "CompanyDB": "SBODEMOAU" }), error: function (xhr, status, error) { window.alert("login failed: " + xhr.responseText); }, success: function () { window.alert("login successfully."); } }); }); });
Regards,