const formData = new FormData(formElement);
const fetchArgs = {
method: "POST",
body: formData,
};
fetch("/pushworker", fetchArgs).then((data) => console.log(data));
const formData = new FormData();
const uri = formElement.querySelector("[name=uri]").value;
formData.append("uri", uri);