Represents the request configuration, that was inferred from a destination.

interface DestinationHttpRequestConfig {
    baseURL: string;
    headers: Record<string, string>;
    httpAgent?: Agent;
    httpsAgent?: Agent;
    params?: Record<string, string>;
    proxy?: false | BasicProxyConfiguration;
}

Properties

baseURL: string

Will be prepended to HttpRequestConfigBase#url unless url is absolute.

headers: Record<string, string>

Additional headers to be sent.

httpAgent?: Agent

Agent to be used when performing HTTP requests.

httpsAgent?: Agent

Agent to be used when performing HTTPS requests.

params?: Record<string, string>

URL parameters to be sent with the request.

proxy?: false | BasicProxyConfiguration

Proxy configuration, when going through a proxy like the SAP Cloud Connector.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.