Output Explanation: Login.html has username data which is sent using get method to login.aspx (server). In the output of second screen shot we can see there is key (username) value(DotNetMirror) data as query stirng in the URL which is submitted to login.aspx page and the output(Welcome DotNetMirror) is show in login.aspx page.

Post Method:

POST method transfers information over HTTP headers.

Data transfer through HTTP headers so using secure HTTP protocol we can make sure that data is secured.

No restriction on sending data size via Post and also we can send binary data or ASCII information using POST method.

We can access form data in ASP.NET using Request.Form["key1"]

Example: Usage of Get method In ASP.NET/HTML:

In the below example we will see how POST method passed data from login.html (client) to login.aspx page (server).