LemonEx.Request (lemon_ex v0.1.0)

Link to this section Summary

Link to this section Functions

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

get(url, params \\ [])

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

patch(url, payload)

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

post(url, payload)

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