AI engineering glossary · Web APIs HTTP

What is multipart form data?

Multipart form data (also called multipart/form-data): A request body format that packs several parts, such as text fields and files, into one message separated by boundary strings. It is the standard way to upload files, images or audio to an API.

Level: intermediateTopic: Web APIs HTTP

Multipart form data: an example

curl -F [email protected] -F purpose=upload sends a PDF plus a text field in one request.

Related terms

More Web APIs HTTP terms

Where you learn it

Multipart form data is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.