I'm calling a Resting Application API implemented from Https to Http Rest API. I wrote the logic in VueJs. The web service call failed with the message below.
vue-resource.js: 1091 Mixed Content: The page at ' link ' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ' link '. This request has been blocked; the content must be served over HTTPS. (anonymous) @ vue-resource.js: 1091
via HTTPS requests from my HTTPS application - there is no other workaround for this and the mixing protocols can also put the application's security at risk, but I'd still be able to run my application on the web server, all because of this line of code below
created: function() {
var self = this;
self.$http.get('http://api.promasters.net.br/cotacao/v1/valores').then(function(response) {
self.bancodedados = response.body;
});
},
How could I do to fix this?
I'm loading a dollar quote table by getting the information from a HTTP URL in the form of json