;
            });

            XHR.open("POST", "/post/form1");

            let useUrlEncoded = document.getElementById("use-form-urlencoded");
            if (useUrlEncoded.checked == true) {
                XHR.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
                XHR.send("First-Name=" + document.getElementById("fname").value + "&Last-Name=" + document.getElementById("lname").value);
            }
            else {
                const FD = new FormData();
            