Method Override

The method-override checks req.body._method (by default) in order to swap out the http request method. The body-decoder middleware will populate req.body when a form is submitted, which when paired with this middleware will allow the rest middleware to support RESTful forms.

Options

key   Defaults to _method

Environment Variables

--methodOverrideKey

See Also