Upstream v2.0.4 Upstream.Request View Source

Request module for making and handling network request to b2

Link to this section Summary

Link to this section Functions

Link to this function post(caller_struct, url, body, headers, options \\ []) View Source
post(
  any(),
  binary(),
  any(),
  [{atom() | binary(), binary()}] | %{optional(binary()) => binary()},
  keyword()
) ::
  {:error, %{optional(:__struct__) => atom(), optional(atom()) => any()}}
  | {:ok, %atom(){optional(atom()) => any()}}