When curlpost is used to modify the request header, it cannot be understood. First, let's talk about my understanding of the form label. form & nbsp; label & nbsp; has an attribute: & nbsp; enctype, which has several values, two frequently-used multipartform-dataapplicationx-www-form-urlencoded html sections cannot be understood when setting different enctype & lt curl post to modify the request header.
Let me first explain my understanding of form labels.
The form tag has an attribute of enctype.
It has several values, and two values are frequently used.
Multipart/form-data
Application/x-www-form-urlencoded
Html
Set different enctype when submitting
Multipart/form-data
When submitting the form
Data is separated and not merged into a row.
Application/x-www-form-urlencoded
When submitting the form
Data is merged.
When I was working on curl
Content-Type: application/x-www-form-urlencoded
I separate them in this way.
Why?
Curl is used to simulate post to submit a data
On the submitted page
Http://www.web-youhua.com/html/web-youhua-198603159.html
The requested address is
Http://www.web-youhua.com/include/comment_save.asp? Comment_add = add
Please try again ........
------ Solution --------------------
If
The value is in English ......
------ Solution --------------------
Is there any difference?
Both are valid formats and are generally separated for long content.
Various browsers also have their own processing methods
------ Solution --------------------
I have never paid attention to this stuff.