Axios - Multipart Form Example

# Multipart Form Data

someString
someNumber
someSmallFile
nested.someString
Pass to Axios as FormData
Pass to Axios as JSON. Let Axios convert to form data
Check devtools to see details of request sent, and content of FormData.
In Chromium check: devtools -> network tab -> request to "server" -> payload tab
Response Data
Submit the form to see the response data here
This form demonstrates how to submit multipart/form-data with both text fields and files.