tesla v0.8.0 Tesla.Middleware.FormUrlencoded View Source

Link to this section Summary

Functions

Send request body as application/x-www-form-urlencoded

Link to this section Functions

Send request body as application/x-www-form-urlencoded

Example:

defmodule Myclient do
  use Tesla

  plug Tesla.Middleware.FormUrlencoded
end

Myclient.post("/url", %{key: :value})