FormData ãªãã¸ã§ã¯ãã¯ããã§ããã¾ã㯠XMLHttpRequest API ã使ç¨ãã¦éä¿¡ããããã®ãã¼ã¨å¤ã®ãã¢ã®éåãã³ã³ãã¤ã«ã§ãã¾ããæ¬æ¥ã¯ãã©ã¼ã ãã¼ã¿ã®éä¿¡ã«ä½¿ç¨ãããã¨ãæ³å®ãã¦ãã¾ãããããã¼ã®ã¤ãããã¼ã¿ãä¼éããããã«ãã©ã¼ã ã¨ã¯ç¬ç«ãã¦ä½¿ç¨ãããã¨ãã§ãã¾ããä¼éããããã¼ã¿ã¯ããã©ã¼ã ã®ã¨ã³ã³ã¼ãã¿ã¤ãã multipart/form-data ã«è¨å®ããã¦ããå ´åã«ãsubmit() ã¡ã½ããã§éä¿¡ããéã«ä½¿ç¨ãããã¼ã¿ã¨åãå½¢å¼ã§ãã const send = document.querySelector("#send"); send.addEventListener("click", async () => { const formData = new FormData(); formData.append("username", "Groucho
{{#tags}}- {{label}}
{{/tags}}