Formular POST mit JavaScript
var xhr = new XMLHttpRequest(); xhr.open("POST", "/service", true); xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded"); var a = document.getElementById("post_param_a").value; var b = document.getElementById("post_param_b").value; var params = "a=" + a + "&b=" + b; xhr.send(params); xhr.onload =…