May 2019
Intermediate to advanced
478 pages
11h 21m
English
If you encounter a form on a website, such as a login form, that form likely uses a POST request to transmit its data to the web server. A standard HTML form encodes the data it sends in a format called URL encoding, also called percent encoding. When URL encoded form data is submitted in an HTTP POST request, it uses the Content-Type: application/x-www-form-urlencoded header.
Consider the following HTML for a submittable form:
<form method="post" action="/submission.php"> <label for="name">Name:</label> <input name="name" type="text"><br> <label for="comment">Comment:</label> <input name="comment" type="text"><br> <input type="submit" value="submit"></form>
In your web browser, the preceding HTML may render as shown in ...
Read now
Unlock full access