Function paystack::post_request

source ·
pub async fn post_request<T>(
    api_key: &str,
    url: &str,
    body: T
) -> Result<Response, Error>where
    T: Debug + Serialize,
Expand description

A function for sending POST requests to a specified url using the reqwest client.