How to check data is submitted in form, or in query string in ASP.NET Core Razor Pages?
I have a handler in my ASP.NET Core Razor Page: public IActionResult OnPostDoSomething() { // How can I know that the data is sent in query string, or in form, or in headers? } This method is called from multiple…