This commit is contained in:
EvilMuffinHa 2021-09-11 18:34:46 -04:00
parent 4f9a69707c
commit 0e1bc5602a

View File

@ -22,7 +22,7 @@ function forwardForImage(id, postloc) {
console.log(data[3]); console.log(data[3]);
var params = data.join("&"); var params = data.join("&");
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.open("POST", postloc, true); xhr.open("POST", postloc);
console.log(params); console.log(params);
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhr.send(params); xhr.send(params);