HttpMethodOverrideExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for enabling HttpMethodOverrideMiddleware.
public ref class HttpMethodOverrideExtensions abstract sealed
public static class HttpMethodOverrideExtensions
type HttpMethodOverrideExtensions = class
Public Module HttpMethodOverrideExtensions
- Inheritance
-
HttpMethodOverrideExtensions
Methods
UseHttpMethodOverride(IApplicationBuilder, HttpMethodOverrideOptions) |
Allows incoming POST request to override method type with type specified in form. This middleware is used when a client is limited to sending GET or POST methods but wants to invoke other HTTP methods. |
UseHttpMethodOverride(IApplicationBuilder) |
Allows incoming POST request to override method type with type specified in header. This middleware is used when a client is limited to sending GET or POST methods but wants to invoke other HTTP methods. By default, the X-HTTP-Method-Override request header is used to specify the HTTP method being tunneled. |