[ASP. NET Web API tutorial] 5.2 send HTML form data: URL-encoded form data, api5.2
Note: This article is part of the [ASP. NET Web API series tutorial]. If this is the first time you read this series of tutorials, read the previous content first.5.2
You need to upload files to the server during network programming. Multipart/form-data is a way to upload files.Multipart/form-data is actually the way that browsers upload files using forms. The most common scenario is when you write a message, add
Yuan Yongfu (http://www.xdesigner.cn)
The form tool I am developing is a three-in-one form tool (click to download its conceptual version). It also integrates the design functions of WinForm, HTML, and XSLT, and uses it, for the same form template,
xml| data as you are familiar with Asp,xml and HTML4. 0, please read the following example
Save form data in XML format
Typically, data submitted by a form in an ASP is typically written to the database. However, if you want to make it easier to
--------------------------------------------------------------------------------------The meaning of enctype= "Multipart/form-data" in the form is to set the MIME encoding of the form. (for file upload)
By default, this encoding format is
In-depth analysis of form data submitted in JSON encoding format
This article mainly introduces the in-depth analysis of the information about the form data submitted in JSON encoding format. For more information, see
Submitting form data in JSON
Submitting form data in JSON-encoded format is HTML5 's further contribution to the evolution of web development, where our HTML form data is a server-side transmitted via Key-value, a form of transmission that is very primitive in its lack of
Submitting form data in JSON-encoded format is another major contribution to the evolution of the Web, where our HTML form data was HTML5 by Key-value, and this form of transmission is very primitive in the form of a lack of management of the data
Submitting form data in JSON-encoded format is HTML5 's further contribution to the evolution of web development, previously our HTML form data is transmitted through the key-value of the server side, this form of transmission on the data
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.