Http verb of current http context Http verb of current http context asp.net asp.net

Http verb of current http context


HttpContext.Current.Request.HttpMethod


In ASP.NET CORE 2.0 you can get (or set) the HTTP verb for the current context using:

Request.HttpContext.Request.Method