tesla v0.8.0 Tesla.Middleware.MethodOverride View Source

Middleware that adds X-Http-Method-Override header with original request method and sends the request as post.

Useful when there’s an issue with sending non-post request.

Available options:

  • :override - list of http methods that should be overriden, everything except get and post if not specified

Link to this section Summary

Link to this section Functions