Close

Application/x-www-form-urlencoded

[Updated: Feb 28, 2016, Created: Feb 28, 2016]

HTTP HTML 

This is the default encoding type for the Html Form post submission.

Encoding type tells the browser how the form data should be encoded before sending the form data to the server.

A typical HTML form looks like this:

<form action='server_url'>
Name: <input type="text" name="firstname">
Address: <input type="text" name="lastname">
</form>

The body of the HTTP message sent to the server is basically name/value pairs which are separated by the ampersand (&), and names are separated from values by the equals symbol (=).

Keys and values are both escaped by replacing spaces with the '+' character and using URL encoding on all other non-alphanumeric characters. For example:

name=Marty+Franco&address=Vine+Lane


multipart/form-data is another encoding Type for the HTML form.