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\")>
Just use RewriteRule in your .htaccess file with the specified protocol, for example:
RewriteCond %{REQUEST_URI} .+[^/]$ RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L,QSA]