pub async fn call_api(
base_url: &str,
endpoint: &Endpoint,
params: &HashMap<String, String>,
body: Option<&Value>,
auth: &ApiAuth,
) -> Result<String, String>Expand description
Execute an API call. Returns the response body as string.