Multipart form data

noun

say it: “MUL-tee-part FORM DAY-tuh” /ˈmʌltiˌpɑrt fɔːrm ˈdeɪtə/

A way of sending a form in separate parts, which lets it carry files as well as text fields.

What is Multipart form data?

Multipart form data — A form encoding that separates entries into parts and supports file uploads.

<form method="post" enctype="multipart/form-data">
  <input name="photo" type="file">
  <button>Upload</button>
</form>

In a sentence

  • “The photo form sends multipart form data, so the picture and its title travel together.”
  • “express.json() can't read multipart form data; multer can.”

Level: Freelancer · More HTML terms at this level

Updated