Galera estou criando uma requisição Ajax e está me retornando o seguinte erro no browser do chrome :
Mixed Content: The page at 'https://webidetesting1528443-p2001266009trial.dispatcher.hanatrial.ondemand.com/webapp/index.html?hc_orionpath=%2FDI_webide_di_workspacewf6vvrnbvo2my1sx%2FRelatorios&neo-di-affinity=BIGipServer~jpaas_folder~disapwebide.hanatrial.ondemand.com+%218xHMvDQGtOgik1E08AYQbXf7c9YJWjVTz2Dw%2Frbjn%2BC6Yrxd%2Fc%2BRwBYZEEVdxt26GClR3ab9%2FmdWGzs%3D&origional-url=index.html&sap-ui-appCacheBuster=..%2F&sap-ui-xx-componentPreload=off' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://dummy.restapiexample.com/api/v1/employees'. This request has been blocked; the content must be served over HTTPS.
Meu código está assim :
var oData = jQuery.ajax({
type: "GET",
contentType : "application/json",
url: "http://dummy.restapiexample.com/api/v1/employees",
dataType : "json",
async: true,
success : function(result, status, request) {
var oModel = new JSONModel(oData);
var oList = this.byId("tabela1");
oList.setModel(oModel);
},
error: function (request, status, erro) {
alert("Problema ocorrido: " + status + "\nDescição: " + erro);
alert("Informações da requisição: \n" + request.getAllResponseHeaders());
},
});
Como posso resolver isso ?
Obrigado