Tesla.Middleware.MethodOverride (tesla v1.4.0) 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.
Example
defmodule MyClient do
  use Tesla
  plug Tesla.Middleware.MethodOverride
endOptions
- :override- list of http methods that should be overriden, everything except- :getand- :postif not specified