View Source Tesla.Middleware.Query (tesla v1.13.2)
Set default query params for all requests
Examples
defmodule MyClient do
def client do
Tesla.client([
{Tesla.Middleware.Query, [token: "some-token"]}
])
end
end
Set default query params for all requests
defmodule MyClient do
def client do
Tesla.client([
{Tesla.Middleware.Query, [token: "some-token"]}
])
end
end