HTTP GET and
HTTP Post is the most common method used by HTTP.
- HTTP Get the return response from the server to client.
- HTTP Post send data client (Browser to the server) .
ASP.Net MVC C# has a built-in model attached view for form data submission and validation, which is good but not good as for users who are using simple posts form the method. So I will show you different ways to send data to the server using form method post like PHP.
Demo Table Name (Student)
SN |
Field |
Data Type |
1 |
Roll |
Int |
2 |
Name |
Varchar(50) |
3 |
City |
Varchar(50) |