multipart/form-data (the same shape as curl -F). No base64, no payload doubling.
Browser
Node, from disk
Node, from a Blob
Multiple files
_json text field automatically.
Nested files aren’t extracted
Only top-level file values become multipart fields. Files inside arrays or nested objects stay in the JSON sidecar and the server won’t see them as uploads:Don’t base64 yourself
File, Blob, or { content, filename, mimeType }. Plain strings pass through as scalar inputs.