What scenarios does the axios data interface form-data apply to, and what is the difference between it and conventional parameters

what scenarios does the axios data interface form-data apply to, and what is the difference between it and normal parameters


form-data is a form submission, which is generally used for normal form submission application/x-www-form-urlencoded or an API for file upload multipart/form-data (files are not uploaded separately). However, this is not absolute. Many form submission interfaces are also submitted in the format of application/json . In the final analysis, this is related to the specification problem of the back end.
Menu