View Source Plug.MethodOverride (Plug v1.14.2)
This plug overrides the request's POST
method with the method defined in
the _method
request parameter.
The POST
method can be overridden only by these HTTP methods:
PUT
PATCH
DELETE
This plug expects the body parameters to be already parsed and
fetched. Those can be fetched with Plug.Parsers
.
This plug doesn't accept any options.
examples
Examples
plug Plug.MethodOverride