I have the following piece of code in a project that I am working on:
if(!validate($(".emailbody input").val())){ ... } else{ $.get("https://get.request.com/something", {email:encodeURI($(".emailbody input").val())}) .complete(function(){ $(".emailbody").append($('<p class="emailsucess">Kiitos! Linkki rekisteröitymisen jatkamiseen on lähetetty sähköpostiisi: '+$(".emailbody input").val()+'</p>')); $.post("http://post.request/confirm.php", {"confirm":$(".emailbody input").val()}) $(".emailbody input").val(""); }); }
A simple get requst puts things in the database of the connected service, and then the post-response starts the mail from the local host.
My problem is this:
In any browser other than IE (any version), this works quite successfully and without any problems, however with IE, the GET call does not even appear in network traffic, it is ignored, not called, but the full call is still executed as if he went through OK!
Is this a problem with the https service, or is there something I missed?
UPDATE: I ran into a problem making a mail call to a local file that links to a GET request to an external server, so it works now, but it's a dumb way to do something. Anyone who can shed light on this will be very grateful.
source share