Skip to content

Commit

Permalink
Update files/ja/web/api/xmlhttprequest_api/using_formdata_objects/ind…
Browse files Browse the repository at this point in the history
…ex.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mfuji09 and github-actions[bot] committed Dec 22, 2023
1 parent b9d09ec commit 052af56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ send.addEventListener("click", async () => {
const avatar = document.querySelector("#avatar");
formData.append("avatar", avatar.files[0]);

// JavaScript のファイル風オブジェクト
// JavaScript のファイル風オブジェクト
const content = '<q id="a"><span id="b">hey!</span></q>';
const blob = new Blob([content], { type: "text/xml" });
formData.append("webmasterfile", blob);
Expand Down

0 comments on commit 052af56

Please sign in to comment.