Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

[Help] - ERR_INSECURE_RESPONSE when login to HANA

$
0
0

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,


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>