View Source WhatsappElixir.HTTP (whatsapp_elixir v0.1.4)

Module to handle HTTP requests for the WhatsApp Elixir library.

Link to this section Summary

Link to this section Functions

Link to this function

api_version(custom_config \\ [])

View Source
Link to this function

base_url(custom_config \\ [])

View Source
Link to this function

config(custom_config \\ [])

View Source

Specs

config(keyword()) :: keyword()
Link to this function

delete(endpoint, params \\ %{}, opts \\ [], url_override \\ false)

View Source

Sends a DELETE request to the specified endpoint with the given parameters.

Link to this function

get(endpoint, params \\ %{}, opts \\ [], url_overide \\ false)

View Source
Link to this function

get_url(url, opts \\ [], headers \\ [])

View Source
Link to this function

post(endpoint, body, opts \\ [], include_phone_number_id \\ true, content_type \\ "application/json")

View Source

Sends a POST request to the specified endpoint with the given body.