Skip to main content

execute_request

Function execute_request 

Source
pub async fn execute_request(
    spec: &CachedSpec,
    matches: &ArgMatches,
    base_url: Option<&str>,
    dry_run: bool,
    idempotency_key: Option<&str>,
    global_config: Option<&GlobalConfig>,
    output_format: &OutputFormat,
    jq_filter: Option<&str>,
    cache_config: Option<&CacheConfig>,
    capture_output: bool,
    retry_context: Option<&RetryContext>,
) -> Result<Option<String>, Error>
Expand description

Legacy wrapper that translates ArgMatches into domain types and delegates to crate::engine::executor::execute. Retained for backward compatibility.

ยงErrors

Returns errors for authentication failures, network issues, or JQ filter errors.