View Source Plausible.HTTPClient (Plausible v0.0.1)

HTTP Client built on top of Finch.

By default, request parameters are json-encoded.

If a raw binary value is supplied, no encoding is performed. If x-www-form-urlencoded content-type is set in headers, URL encoding is invoked.

Link to this section Summary

Link to this section Functions

Make a GET request

@spec impl() :: Plausible.HTTPClient
Link to this function

post(url, headers \\ [], params \\ nil, finch_req_opts \\ [])

View Source

Make a POST request