ExCorreios v1.1.4 ExCorreios.Request.Client View Source

This module provides an http interface to communicate with Correios API.

Link to this section Summary

Link to this section Functions

Link to this function

get(url, opts \\ [])

View Source
get(String.t(), keyword()) ::
  {:ok, HTTPoison.Response.t()} | {:error, HTTPoison.Error.t()}
Link to this function

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

View Source
post(String.t(), String.t(), keyword()) ::
  {:ok, HTTPoison.Response.t()} | {:error, HTTPoison.Error.t()}