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.
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.