text/plain: This value convert spaces into + symbols but special characters are not converted. Why can we add/substract/cross out chemical equations for Hess law? The returned type depends on what the next part is: if it's a simple body part then you'll get BodyPartReader instance here, otherwise, it will be another MultipartReader instance for the nested multipart.Remember, that multipart format is recursive and supports multiple levels of nested body parts. Connect and share knowledge within a single location that is structured and easy to search. and you can write this in code-behind in content page. Tip: While posting a file on a server using post request you must have to use multipart/form-data, without using it you can not upload a file on the server. You need to parse the binary multipart form data stream. Agree Learn more Learn more It sends the form data to server in multiple parts because of large size of file. I don't feel pain if the CPU is a little bit busy. We use enctype=multipart/form-data always since some months (even for forms without file uploads). multipart/form-data is necessary if your users are required to upload a file through the form. Answer: When you make a server call using a post request, You will have to encode the data getting a post in the body of the request. What does it mean in an HTML form and when should we use it? Connect and share knowledge within a single location that is structured and easy to search. How do I make kelp elevator without drowning? In C, why limit || and && to evaluate to booleans? The form data transmitted as a MIME stream. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Of course we can use Axios to send files . 2. multipart/form-data. In multipart, each of the field to be sent has its content type, file name and data separated by boundary from other field. We use the axios.post method to send a POST request with Axios, which takes two major parameters - the URL of the endpoint ( url ), and the object representing data we want to post ( data): axios.post (url [, data [, config]]) Besides those two parameters, there is also a third one - config.. houses for sale bonney lake.