Excuse my confusion, but I am feeling a bit overwhelmed with this situation. My coworkers and I have been working on a project where I developed a website using HTTPS, while another colleague set up a webserver. To access my website, I found that I can type in the URL as follows: " or
Within my website, there is a call to the webserver structured like this:
$.ajax({
crossDomain:true,
contentType:"application/json; charset=utf-8",
type:"POST",
url: 'http://urlOfWebserver/'+data.method,
dataType:"jsonp",
data: data.data,
success: function (data){}
While everything works fine when I access my site using HTTP, I encounter an error when using HTTPS. The error message reads:
Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure script '. This request has been blocked; the content must be served over HTTPS.
Is this something that can be resolved from my end within the website code, or does it require adjustments on the webserver itself?