exhal v4.0.0 ExHal.Navigation
Summary
Functions
Follows a link in a HAL document
Follows all links of a particular rel in a HAL document
Posts data to the named link in a HAL document
PUTs data to the named link in a HAL document
Functions
Follows a link in a HAL document.
Returns {:ok, %ExHal.Document{...}}
if response is successful;
{:error, %ExHal.Error{...}}
if not
Follows all links of a particular rel in a HAL document.
Returns [{:ok, %ExHal.Document{...}}, {:error, %ExHal.Error{...}, ...]
Posts data to the named link in a HAL document.
Returns {:ok, %ExHal.Document{...}}
if response is successful and body is HAL;
{:error, %ExHal.Error{...}}
if response is an error if not