ExPersona.Client (ex_persona v0.0.2) View Source

Make requests to the API.

The requests are made using ExPersona.Client.Operations.

Link to this section Summary

Functions

Make a GET request to the API at the given URL.

Call the API with the given ExPersona.Client.Operation.

Call the API with the given ExPersona.Client.Operation.

Link to this section Functions

Link to this function

get(url, headers, params)

View Source

Specs

get(String.t(), [{atom(), String.t()}], map()) ::
  {:ok, binary(), list()} | {:error, String.t()}

Make a GET request to the API at the given URL.

Specs

Call the API with the given ExPersona.Client.Operation.

Specs

Call the API with the given ExPersona.Client.Operation.

This function throws an error if there was any issue calling the API.