View Source LemonEx.Request (lemon_ex v0.2.4)

Summary

Functions

@spec delete(
  binary(),
  keyword()
) :: :ok | {:ok, map()} | {:error, any()} | {:error, integer(), any()}
Link to this function

get(url, params \\ [], opts \\ [])

View Source
@spec get(binary(), keyword(), keyword()) ::
  {:ok, map()} | {:error, any()} | {:error, integer(), any()}
Link to this function

patch(url, payload, opts \\ [])

View Source
@spec patch(binary(), any(), keyword()) ::
  {:ok, map()} | {:error, any()} | {:error, integer(), any()}
Link to this function

post(url, payload, opts \\ [])

View Source
@spec post(binary(), any(), keyword()) ::
  {:ok, map()} | {:error, any()} | {:error, integer(), any()}