Working With FormData

Working With FormData

TODO: This document is a stub

A common trick is to turn the entire formData into an object with Object.fromEntries:

const data = Object.fromEntries(await request.formData());
data.songTitle;
data.lyrics;
Docs and examples CC 4.0