How can I explicitly make an AJAX HTTPS GET request using jQuery? I am trying to do the following. On an https page, I have a line with the code $.get(\"/resource\")>
$.get(\"/resource\")>
Try setting the datatype to "jsonp", that's helped me in the past with cross-origin requests.
$.ajax({ url: "//www.site.com/resource" dataType: "jsonp", success: function(data) { $(".demo-card").html(data); } });