Tesla.Middleware.Query (tesla v1.5.0) View Source

Set default query params for all requests

Examples

defmodule Myclient do
  use Tesla

  plug Tesla.Middleware.Query, [token: "some-token"]
end