• Preparing search index...
  • The search index is not available
SAP Cloud SDK for JavaScript - v3.26.4
  • SAP Cloud SDK for JavaScript
  • @sap-cloud-sdk/http-client
  • executeHttpRequest

Function executeHttpRequest

  • executeHttpRequest<T extends HttpRequestConfig>(
        destination: HttpDestinationOrFetchOptions,
        requestConfig?: T,
        options?: HttpRequestOptions,
    ): Promise<HttpResponse>

    Builds a DestinationHttpRequestConfig for the given destination, merges it into the given requestConfig and executes it (using Axios).

    Type Parameters

    • T extends HttpRequestConfig

    Parameters

    • destination: HttpDestinationOrFetchOptions

      A destination or a destination name and a JWT.

    • OptionalrequestConfig: T

      Any object representing an HTTP request.

    • Optionaloptions: HttpRequestOptions

      An HttpRequestOptions of the HTTP request for configuring e.g., CSRF token delegation. By default, the SDK will fetch the CSRF token.

    Returns Promise<HttpResponse>

    A promise resolving to an HttpResponse.

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

    • Defined in packages/http-client/dist/http-client.d.ts:53

Settings

Member Visibility
SAP Cloud SDK for JavaScript - v3.26.4
  • Loading...