Pleroma v1.1.9-10-g42f76306+dev Pleroma.HTTP View Source
Link to this section Summary
Link to this section Types
Link to this section Functions
Performs GET request.
Performs POST request.
Builds and perform http request.
Arguments:
method
- :get, :post, :put, :delete
url
body
headers
- a keyworld list of headers, e.g. [{"content-type", "text/plain"}]
options
- custom, per-request middleware or adapter options
Returns:
{:ok, %Tesla.Env{}}
or {:error, error}