PDFShift.Client (PDFShift v0.0.0-dev)

View Source

HTTP client for PDFShift API.

Summary

Functions

Performs a GET request to the PDFShift API.

Performs a POST request to the PDFShift API.

Functions

get(config, endpoint, client_opts \\ [])

@spec get(PDFShift.Config.t(), String.t(), keyword()) ::
  {:ok, map()} | {:error, any()}

Performs a GET request to the PDFShift API.

post(config, endpoint, payload, client_opts \\ [])

@spec post(PDFShift.Config.t(), String.t(), map(), keyword()) ::
  {:ok, map()} | {:error, any()}

Performs a POST request to the PDFShift API.