HttpMethodOverrideExtensions Class

Definition

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)

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.

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.

Applies to