CampaignFlow.Client.Request (CampaignFlow Client v2.0.0)
View SourceHandles HTTP requests to the Campaign Flow API using Req.
This module provides low-level request functionality with automatic authentication and error handling.
Summary
Functions
Makes a DELETE request.
Makes a GET request.
Makes a PATCH request.
Makes a POST request.
Makes a PUT request.
Makes an authenticated HTTP request to the API.
Types
Functions
@spec delete(CampaignFlow.Client.t(), String.t(), keyword()) :: response()
Makes a DELETE request.
@spec get(CampaignFlow.Client.t(), String.t(), keyword()) :: response()
Makes a GET request.
@spec patch(CampaignFlow.Client.t(), String.t(), keyword()) :: response()
Makes a PATCH request.
@spec post(CampaignFlow.Client.t(), String.t(), keyword()) :: response()
Makes a POST request.
@spec put(CampaignFlow.Client.t(), String.t(), keyword()) :: response()
Makes a PUT request.
@spec request(CampaignFlow.Client.t(), http_method(), String.t(), keyword()) :: response()
Makes an authenticated HTTP request to the API.
Automatically retrieves a valid token from the TokenManager.