GET and POST Actions
A search form sends a GET request with a query string; a form that saves data sends a POST. Pair a GET action that shows the form with a POST action that saves it, redirect afterward, and protect it with an anti-forgery token.
Updated

- Category
- ASP.NET Core
- Level
- Journeyman
- Tags
- Anti-Forgery Token, aspnet-core, c-sharp, Form, GET, HTTP Method, POST, Post-Redirect-Get, razor