PackagePackagetypeA library you install and call yourself.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

@sap-cloud-sdk/http-client

The HTTP client that carries a destination's credentials, so an outbound call inherits the authentication rather than assembling it.

Facts

Latestv4.9.1ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
DestinationsCAPDestinationscapabilityReaching a system that is not yours — an S/4HANA tenant, an on-premise service, a third-party API — without the address, the credentials or the tunnel being written into the application. The destination is the indirection, and the reason an endpoint can move without a redeploy.
Requires
SAP Destination serviceSAP Destination serviceartifactNamed as a dependency in its documentation.

Who is behind it

SAPSAPOrganisationMaintains this
In the atlas: maintains 137, wrote 14
@SAP
maintainerArtem KovalovPersonContributes to this
In the atlas: contributes to 6
@artemkovalyov
SAP Cloud SDK BotPersonContributes to this
In the atlas: contributes to 11
@bot-sdk-js
BrigittaK307PersonContributes to this
In the atlas: contributes to 12
@BrigittaK307
Britta VarwigPersonContributes to this
In the atlas: contributes to 8
@bvarwig
Robert KaniaPersonContributes to this
In the atlas: contributes to 6
@cezaryrk
Christian SchüringsPersonContributes to this
In the atlas: contributes to 25
@cschuerings
Daniel KullmannPersonContributes to this
In the atlas: contributes to 6
@daniel-kullmann
David KnaackPersonContributes to this
In the atlas: contributes to 13, wrote 1
@davidkna-sap
Deeksha SinhaPersonContributes to this
In the atlas: contributes to 12
@deekshas8
Deni DajaPersonContributes to this
In the atlas: contributes to 6
@denidaja
38 contributors

Before choosing this

Conditions

LicenceSAP Developer License Agreement 3.2 CAP§ 1from DestinationsA destination used by a covered CAP application sends SAP product data to a non-SAP product rather than only addressing a remote endpoint.
  • § 1 License. Productive customer applications are limited to SAP BTP or another SAP-licensed platform, and mass extraction to a non-SAP product is restricted except where solely required for SAP interoperability.

A destination is configuration, not the deciding boundary. The licence becomes material when the resulting data flow is extraction into a non-SAP product, so the target and purpose need review.

SAP Developer License Agreement 3.2 CAP →

What it declares

Every artifact

Type
Package
Origin
By SAP

As a package

Where it runs
does not say
Distributed through
npm

Connections4

Install

npm add @sap-cloud-sdk/http-client

Derived from the package name. No recipe recorded; the README has the configuration.

Where it sits in your app

Download
Your CAP applicationYour SAP BTP subaccountdocumentedrequires@sap-cloud-sdk/http-client, module@sap-cloud-sdk/http-…SAP Destination service, service instanceSAP Destinationservice
SAPnot SAP's, or the project's owndocumented only

README

quoted from SAP/cloud-sdk-js under Apache-2.0, read
SAP/cloud-sdk-js/packages/http-client/README.mdOn GitHub

SAP Cloud SDK for JavaScript Logo

@sap-cloud-sdk/http-client

This package contains the generic http-client functionality of the SAP Cloud SDK as well as the Cloud Platform abstractions.

The generic http-client adds SAP infrastructure specific functionality on top of a standard HTTP Client. The client handles connectivity related issues such as destination lookup, connections to SAP S/4HANA On-premise and web proxies.

Installation

$ npm install @sap-cloud-sdk/http-client

Usage

To make a request, use the executeHttpRequest function.

executeHttpRequest(destination, requestConfig, httpRequestOptions);

For more detailed overview visit our Generic HTTP Client documentation.

Support

The recommended way to get in touch with us is to create an issue on GitHub. Select the issue category Bug, Feature, or Question depending on the nature of your request. We try to provide fixes, features and answers as soon as possible.

Contribute

If you would like to contribute to the SAP Cloud SDK, please make yourself familiar with our contributing guidelines and follow the given instructions.

License

The SAP Cloud SDK is released under the Apache License Version 2.0.

Apache-2.0, read

History

Latest

v4.9.1

Fixes 2

Notes
Patch Changes
  • e8f8134: [fix] Export ./internal.js named export in package.json for compatibility. Please migrate to the new named export ./internal, the old export is deprecated and will be removed in the next major release.
  • Updated dependencies [e8f8134]
    • @sap-cloud-sdk/connectivity@4.9.1
    • @sap-cloud-sdk/resilience@4.9.1
    • @sap-cloud-sdk/util@4.9.1
  1. v4.9.0

    Fixes 2

    Notes
    Patch Changes
    • 05e9299: [fix] Restore proxy authorization headers for same-origin redirects when using proxy configuration.
    • Updated dependencies [9f55261]
      • @sap-cloud-sdk/connectivity@4.9.0
      • @sap-cloud-sdk/resilience@4.9.0
      • @sap-cloud-sdk/util@4.9.0
  2. v4.8.0

    Features 1, Fixes 4

    Notes
    Minor Changes
    • 32aab37: [feat] A new agentOptions property on Destination allows configuring the underlying HTTP(S) agent (e.g. keepAlive, timeout) without constructing an agent manually.
    Patch Changes
    • Updated dependencies [34da40e]
    • Updated dependencies [a42a3a2]
    • Updated dependencies [32aab37]
    • Updated dependencies [24fe0c5]
      • @sap-cloud-sdk/connectivity@4.8.0
      • @sap-cloud-sdk/resilience@4.8.0
      • @sap-cloud-sdk/util@4.8.0
  3. v4.7.0

    Features 2, Fixes 7

    Notes
    Minor Changes
    • d54ba5a: [Improvement] Cache custom http and https agents and enable the keep-alive option by default.
    • d54ba5a: [Improvement] Use node's global http/https agent unless a custom agent is required by the destination configuration.
    Patch Changes
    • 67e1c53: [Fixed Issue] Warn when the CSRF token fetch URL has a different host than the request URL, as sensitive headers would be forwarded to the cross-host endpoint.
    • Updated dependencies [9102f18]
    • Updated dependencies [d54ba5a]
    • Updated dependencies [df84426]
    • Updated dependencies [9102f18]
    • Updated dependencies [d54ba5a]
    • Updated dependencies [9102f18]
      • @sap-cloud-sdk/connectivity@4.7.0
      • @sap-cloud-sdk/resilience@4.7.0
      • @sap-cloud-sdk/util@4.7.0
  4. v4.6.0

    Fixes 5

    Notes
    Patch Changes
    • 7ea34ce: [Fixed Issue] Improve handling of missing zlib-module in the compress() middleware and lazy-load it only when needed. To compress requests in the browser, ensure that a suitable polyfill is provided.
    • Updated dependencies [8637346]
    • Updated dependencies [259d8ad]
    • Updated dependencies [a6c8ff6]
    • Updated dependencies [0800e7a]
      • @sap-cloud-sdk/connectivity@4.6.0
      • @sap-cloud-sdk/util@4.6.0
      • @sap-cloud-sdk/resilience@4.6.0
  5. v4.5.1

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@4.5.1
    • @sap-cloud-sdk/resilience@4.5.1
    • @sap-cloud-sdk/util@4.5.1
  6. v4.5.0

    Features 2, Fixes 2

    Notes
    Minor Changes
    • cbed72f: [Improvement] Add signal property to CustomRequestConfig and HttpRequestConfigBase type definition to document AbortSignal support for cancelling HTTP requests.
    • f5715de: [Improvement] Add request compression middleware. Use the compress() middleware to compress HTTP request payloads using gzip, brotli, deflate, or zstd algorithms. Supports multiple compression modes: auto (size-based), passthrough (pre-compressed), or forced compression.
    Patch Changes
    • Updated dependencies [02d1302]
    • Updated dependencies [962cdcb]
      • @sap-cloud-sdk/connectivity@4.5.0
      • @sap-cloud-sdk/resilience@4.5.0
      • @sap-cloud-sdk/util@4.5.0
  7. v4.4.0

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [d444438]
      • @sap-cloud-sdk/connectivity@4.4.0
      • @sap-cloud-sdk/resilience@4.4.0
      • @sap-cloud-sdk/util@4.4.0
  8. v4.3.1

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@4.3.1
    • @sap-cloud-sdk/resilience@4.3.1
    • @sap-cloud-sdk/util@4.3.1
  9. v4.3.0

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [ab96aff]
      • @sap-cloud-sdk/connectivity@4.3.0
      • @sap-cloud-sdk/resilience@4.3.0
      • @sap-cloud-sdk/util@4.3.0
  10. v4.2.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@4.2.0
    • @sap-cloud-sdk/resilience@4.2.0
    • @sap-cloud-sdk/util@4.2.0
  11. v4.1.2

    Fixes 2

    Notes
    Patch Changes
    • 011b841: [Fixed Issue] Update axios to 1.12.2 to fix vulnerability to DoS attack. Refer here for more details.
    • Updated dependencies [011b841]
      • @sap-cloud-sdk/connectivity@4.1.2
      • @sap-cloud-sdk/resilience@4.1.2
      • @sap-cloud-sdk/util@4.1.2
  12. v4.1.1

    Fixes 2

    Notes
    Patch Changes
    • b502b40: [Fixed Issue] Update axios to 1.11.0 to use non-vulnerable version of form-data.
    • Updated dependencies [b502b40]
      • @sap-cloud-sdk/connectivity@4.1.1
      • @sap-cloud-sdk/resilience@4.1.1
      • @sap-cloud-sdk/util@4.1.1
  13. v4.1.0

    Fixes 2

    Notes
    Patch Changes
    • Updated dependencies [3c19ffa]
    • Updated dependencies [3c19ffa]
      • @sap-cloud-sdk/connectivity@4.1.0
      • @sap-cloud-sdk/resilience@4.1.0
      • @sap-cloud-sdk/util@4.1.0
  14. v4.0.2

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [4a187d6]
      • @sap-cloud-sdk/connectivity@4.0.2
      • @sap-cloud-sdk/resilience@4.0.2
      • @sap-cloud-sdk/util@4.0.2
  15. v4.0.1

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@4.0.1
    • @sap-cloud-sdk/resilience@4.0.1
    • @sap-cloud-sdk/util@4.0.1
  16. v4.0.0

    Fixes 9

    Notes
    Patch Changes
    • Updated dependencies [7d92a1b]
    • Updated dependencies [7d92a1b]
    • Updated dependencies [7d92a1b]
    • Updated dependencies [d69325a]
    • Updated dependencies [936a6eb]
    • Updated dependencies [4228412]
    • Updated dependencies [e7cf4e7]
    • Updated dependencies [40fa8d9]
    • Updated dependencies [25c9dd8]
      • @sap-cloud-sdk/connectivity@4.0.0
      • @sap-cloud-sdk/resilience@4.0.0
      • @sap-cloud-sdk/util@4.0.0
  17. v3.24.0

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [7ccc9a3]
      • @sap-cloud-sdk/connectivity@3.24.0
      • @sap-cloud-sdk/resilience@3.24.0
      • @sap-cloud-sdk/util@3.24.0
  18. v3.23.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.23.0
    • @sap-cloud-sdk/resilience@3.23.0
    • @sap-cloud-sdk/util@3.23.0
  19. v3.22.2

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.22.2
    • @sap-cloud-sdk/resilience@3.22.2
    • @sap-cloud-sdk/util@3.22.2
  20. v3.22.1

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.22.1
    • @sap-cloud-sdk/resilience@3.22.1
    • @sap-cloud-sdk/util@3.22.1
  21. v3.22.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.22.0
    • @sap-cloud-sdk/resilience@3.22.0
    • @sap-cloud-sdk/util@3.22.0
  22. v3.21.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.21.0
    • @sap-cloud-sdk/resilience@3.21.0
    • @sap-cloud-sdk/util@3.21.0
  23. v3.20.0

    Fixes 2

    Notes
    Patch Changes
    • Updated dependencies [39eb88c]
    • Updated dependencies [39eb88c]
      • @sap-cloud-sdk/connectivity@3.20.0
      • @sap-cloud-sdk/resilience@3.20.0
      • @sap-cloud-sdk/util@3.20.0
  24. v3.19.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.19.0
    • @sap-cloud-sdk/resilience@3.19.0
    • @sap-cloud-sdk/util@3.19.0
  25. v3.18.1

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [c1bf319]
      • @sap-cloud-sdk/connectivity@3.18.1
      • @sap-cloud-sdk/resilience@3.18.1
      • @sap-cloud-sdk/util@3.18.1
  26. v3.18.0

    Fixes 2

    Notes
    Patch Changes
    • Updated dependencies [c23ccfd]
    • Updated dependencies [06e5c72]
      • @sap-cloud-sdk/connectivity@3.18.0
      • @sap-cloud-sdk/resilience@3.18.0
      • @sap-cloud-sdk/util@3.18.0
  27. v3.17.0

    Fixes 4

    Notes
    Patch Changes
    • Updated dependencies [54a46a3]
    • Updated dependencies [86f4158]
    • Updated dependencies [dbad36f]
    • Updated dependencies [99b5009]
      • @sap-cloud-sdk/connectivity@3.17.0
      • @sap-cloud-sdk/resilience@3.17.0
      • @sap-cloud-sdk/util@3.17.0
  28. v3.16.0

    Fixes 3

    Notes
    Patch Changes
    • Updated dependencies [efa75d3]
    • Updated dependencies [efa75d3]
    • Updated dependencies [4f29615]
      • @sap-cloud-sdk/connectivity@3.16.0
      • @sap-cloud-sdk/resilience@3.16.0
      • @sap-cloud-sdk/util@3.16.0
  29. v3.15.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.15.0
    • @sap-cloud-sdk/resilience@3.15.0
    • @sap-cloud-sdk/util@3.15.0
  30. v3.14.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.14.0
    • @sap-cloud-sdk/resilience@3.14.0
    • @sap-cloud-sdk/util@3.14.0
  31. v3.13.0

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [f72986a]
      • @sap-cloud-sdk/connectivity@3.13.0
      • @sap-cloud-sdk/resilience@3.13.0
      • @sap-cloud-sdk/util@3.13.0
  32. v3.12.1

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [60fdc04]
      • @sap-cloud-sdk/connectivity@3.12.1
      • @sap-cloud-sdk/resilience@3.12.1
      • @sap-cloud-sdk/util@3.12.1
  33. v3.12.0

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [36be489]
      • @sap-cloud-sdk/connectivity@3.12.0
      • @sap-cloud-sdk/resilience@3.12.0
      • @sap-cloud-sdk/util@3.12.0
  34. v3.11.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.11.0
    • @sap-cloud-sdk/resilience@3.11.0
    • @sap-cloud-sdk/util@3.11.0
  35. v3.10.0

    Fixes 5

    Notes
    Patch Changes
    • Updated dependencies [c721bbd]
    • Updated dependencies [c721bbd]
    • Updated dependencies [28c9cb7]
    • Updated dependencies [4d2b49b]
    • Updated dependencies [28c9cb7]
      • @sap-cloud-sdk/connectivity@3.10.0
      • @sap-cloud-sdk/util@3.10.0
      • @sap-cloud-sdk/resilience@3.10.0
  36. v3.9.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.9.0
    • @sap-cloud-sdk/resilience@3.9.0
    • @sap-cloud-sdk/util@3.9.0
  37. v3.8.1

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.8.1
    • @sap-cloud-sdk/resilience@3.8.1
    • @sap-cloud-sdk/util@3.8.1
  38. v3.8.0

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [693cd655f]
      • @sap-cloud-sdk/connectivity@3.8.0
      • @sap-cloud-sdk/resilience@3.8.0
      • @sap-cloud-sdk/util@3.8.0
  39. v3.7.0

    Fixes 3

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@3.7.0
    • @sap-cloud-sdk/resilience@3.7.0
    • @sap-cloud-sdk/util@3.7.0
  40. v3.6.0

    Fixes 3

    Notes
    Patch Changes
    • c2a2987c5: [Fixed Issue] Fix CSRF token fetching against OnPremise systems.
    • Updated dependencies [025b6aa2c]
    • Updated dependencies [025b6aa2c]
      • @sap-cloud-sdk/connectivity@3.6.0
      • @sap-cloud-sdk/resilience@3.6.0
      • @sap-cloud-sdk/util@3.6.0
  41. v3.5.0

    Fixes 3

    Notes
    Patch Changes
    • Updated dependencies [7ed5ceb52]
    • Updated dependencies [2277f9443]
    • Updated dependencies [bf54df09b]
      • @sap-cloud-sdk/connectivity@3.5.0
      • @sap-cloud-sdk/resilience@3.5.0
      • @sap-cloud-sdk/util@3.5.0
  42. v3.4.0

    Fixes 3

    Notes
    Patch Changes
    • Updated dependencies [db0780f1b]
    • Updated dependencies [bde64634d]
    • Updated dependencies [bde64634d]
      • @sap-cloud-sdk/connectivity@3.4.0
      • @sap-cloud-sdk/resilience@3.4.0
      • @sap-cloud-sdk/util@3.4.0
  43. v3.3.0

    Features 1, Fixes 7

    Notes
    Minor Changes
    • 8f54207b6: [Fixed Issue] Do not set default tenant ID in the context of middlewares, if the tenant ID is unknown. In those cases it will be undefined from now on.
    Patch Changes
    • Updated dependencies [0583836bc]
    • Updated dependencies [8f54207b6]
    • Updated dependencies [36a01f775]
    • Updated dependencies [6b58354e8]
    • Updated dependencies [c09b1d06f]
    • Updated dependencies [36a01f775]
    • Updated dependencies [36a01f775]
      • @sap-cloud-sdk/connectivity@3.3.0
      • @sap-cloud-sdk/resilience@3.3.0
      • @sap-cloud-sdk/util@3.3.0
  44. v3.2.0

    Features 2, Fixes 4

    Notes
    Minor Changes
    • 56c3f70f4: [Fixed Issue] Forward the user JWT irrespective of the destination authentication type when forwardAuthToken is set to true on a destination
    • 73ff0ab03: [Fixed Issue] Improve CSRF token fetching for large requests.
    Patch Changes
    • Updated dependencies [616d77b85]
    • Updated dependencies [56c3f70f4]
    • Updated dependencies [234675fc3]
    • Updated dependencies [782b9e37e]
      • @sap-cloud-sdk/connectivity@3.2.0
      • @sap-cloud-sdk/resilience@3.2.0
      • @sap-cloud-sdk/util@3.2.0
  45. v3.1.1

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [166a16d82]
      • @sap-cloud-sdk/resilience@3.1.1
      • @sap-cloud-sdk/connectivity@3.1.1
      • @sap-cloud-sdk/util@3.1.1
  46. v3.1.0

    Fixes 3

    Notes
    Patch Changes
    • Updated dependencies [039412e59]
    • Updated dependencies [28b7af86f]
    • Updated dependencies [28b7af86f]
      • @sap-cloud-sdk/connectivity@3.1.0
      • @sap-cloud-sdk/resilience@3.1.0
      • @sap-cloud-sdk/util@3.1.0
  47. v3.0.2

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [47fc7278d]
      • @sap-cloud-sdk/connectivity@3.0.2
      • @sap-cloud-sdk/resilience@3.0.2
      • @sap-cloud-sdk/util@3.0.2
  48. v3.0.1

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [fcab06c4b]
      • @sap-cloud-sdk/resilience@3.0.1
      • @sap-cloud-sdk/connectivity@3.0.1
      • @sap-cloud-sdk/util@3.0.1
  49. v3.0.0dated in the atlas

    Breaking 5, Features 2, Fixes 16

    Notes
    Major Changes
    • fde964e37: [Compatibility Note] Remove the options timeout and enableCircuitBreaker from all BTP service interactions i.e. destination and token fetching.
    • fde964e37: [Compatibility Note] Switch the compilerOptions.module to Node16 instead of CommonJS for better interoperability with ES modules. See the TypeScript handbook for technical details if needed.
    • fde964e37: [Compatibility Note] Remove timeout() method from the request builders and the timeout options from the executeHttpRequest() function. Visit the documentation portal to see how to add a timeout using middlewares.
    • fde964e37: [Compatibility Note] Removed overload of executeHttpRequest The overload, that accepted HttpRequestConfigWithOrigin as a parameter, is removed and replaced by the function executeHttpRequestWithOrigin.
    • fde964e37: [Compatibility Note]] The url property in Destination is now optional as destinations of type MAIL do not have a URL.
    Minor Changes
    • fde964e37: [New Functionality] The request configuration used in the final request is now part of the middleware context. User can implement middlewares to change request properties like headers using this reference in the middleware context. The request configuration contains the url, headers and all other properties of the HTTP request.
    • fde964e37: [New Functionality] Introduce the middleware on the request builders and http-client. Visit the documentation portal to see how to use middlewares.
    Patch Changes
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
      • @sap-cloud-sdk/util@3.0.0
      • @sap-cloud-sdk/connectivity@3.0.0
      • @sap-cloud-sdk/resilience@3.0.0
  50. v2.11.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@2.11.0
    • @sap-cloud-sdk/util@2.11.0
  51. v2.10.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@2.10.0
    • @sap-cloud-sdk/util@2.10.0
  52. v2.9.0

    Fixes 2

    Notes
    Patch Changes
    • Updated dependencies [4c51d3dc]
    • Updated dependencies [24029503]
      • @sap-cloud-sdk/util@2.9.0
      • @sap-cloud-sdk/connectivity@2.9.0
  53. v2.8.0

    Fixes 3

    Notes
    Patch Changes
    • Updated dependencies [15e9ef4b]
    • Updated dependencies [15e9ef4b]
    • Updated dependencies [15e9ef4b]
      • @sap-cloud-sdk/connectivity@2.8.0
      • @sap-cloud-sdk/util@2.8.0
  54. v2.7.1

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/connectivity@2.7.1
    • @sap-cloud-sdk/util@2.7.1
  55. v2.7.0

    Fixes 2

    Notes
    Patch Changes
    • Updated dependencies [3bff42e1]
    • Updated dependencies [010a46fa]
      • @sap-cloud-sdk/connectivity@2.7.0
      • @sap-cloud-sdk/util@2.7.0
  56. v2.6.0

    Features 2, Fixes 4

    Notes
    Minor Changes
    • e44c214a: [Fixed Issue] Fix the executeHttpRequest/executeHttpRequestWithOrigin function, so the warning is only shown when overwriting headers by using custom headers.
    • e46bb51d: [Improvement] Make requestConfig of OriginOptions optional.
    Patch Changes
    • Updated dependencies [cb598c16]
    • Updated dependencies [09094607]
    • Updated dependencies [93d41281]
    • Updated dependencies [8fdfebd6]
      • @sap-cloud-sdk/connectivity@2.6.0
      • @sap-cloud-sdk/util@2.6.0
  57. v2.5.0

    Features 1, Fixes 1

    Notes
    Minor Changes
    • 9481ec69: [Fixed Issue] Fix the executeHttpRequest function, so it accepts the same parameters as in version 1. [Compatibility Note] Deprecate one overload of the executeHttpRequest function, that accepts HttpRequestConfigWithOrigin as a parameter. Use the new function executeHttpRequestWithOrigin as replacement. [New Functionality] Support defining header options and query parameter options with origins.
    Patch Changes
    • Updated dependencies [89f1c423]
      • @sap-cloud-sdk/util@2.5.0
      • @sap-cloud-sdk/connectivity@2.5.0
  58. v2.4.0

    Features 1, Fixes 4

    Notes
    Minor Changes
    • 04726a35: [Improvement] Reduce default log output on the info level significantly. [Compatibility Note] Only log the successful retrieval of destinations on theinfo log level, log everything else is on the debug or warn level.
    Patch Changes
    • Updated dependencies [04726a35]
    • Updated dependencies [0a008674]
    • Updated dependencies [0a008674]
    • Updated dependencies [0a008674]
      • @sap-cloud-sdk/connectivity@2.4.0
      • @sap-cloud-sdk/util@2.4.0
42,987downloads per week, npm
Weekly downloads for @sap-cloud-sdk/http-client26 complete calendar weeks from 2026-04-27 to 2026-10-25; the latest total is 42987.27 Apr – 3 May: 91,4304 May – 10 May: 102,25211 May – 17 May: 107,22918 May – 24 May: 106,15525 May – 31 May: 109,5711 Jun – 7 Jun: 120,4798 Jun – 14 Jun: 188,94715 Jun – 21 Jun: 152,07222 Jun – 28 Jun: 154,37529 Jun – 5 Jul: 149,2536 Jul – 12 Jul: 144,94413 Jul – 19 Jul: 277,64720 Jul – 26 Jul: 212,84527 Jul – 2 Aug: 259,6213 Aug – 9 Aug: 223,50210 Aug – 16 Aug: 205,98517 Aug – 23 Aug: 241,01724 Aug – 30 Aug: 257,66331 Aug – 6 Sept: 194,6727 Sept – 13 Sept: 175,66114 Sept – 20 Sept: 197,65121 Sept – 27 Sept: 245,82828 Sept – 4 Oct: 287,5955 Oct – 11 Oct: 205,00612 Oct – 18 Oct: 109,06119 Oct – 25 Oct: 42,987
Destinations
  1. SAP Destination serviceNamed, credentialed addresses of other systems resolved at runtimefrom BTP/BAIP
  2. SAP Private Link ServicePrivate network link between a BTP service and a partner cloudfrom BTP/BAIP
  3. com.sap.cds:cds-feature-remote-odataRemote Services for consuming OData V2 and V4 APIs in CAP Javafrom CAP
  4. com.sap.cds:cds-integration-cloud-sdkSAP Cloud SDK integration for remote REST services in CAP Javafrom CAP
  5. capire/s4Prebuilt SAP S/4HANA integration package for CAP projectsfrom CAP
  6. cdseDestination resolution and axios calls from CAP configurationfrom CAP
  7. @sap/cdsCAP Node.js runtimefrom CAP
  8. @sap-cloud-sdk/connectivityDestination lookup and connectivity proxy for the Cloud SDKfrom CAP
  9. @sap-cloud-sdk/odata-commonShared machinery under the Cloud SDK's OData and OpenAPI clientsfrom CAP
  10. @sap-cloud-sdk/openapiGenerated OpenAPI clients for the Cloud SDKfrom CAP
  11. @sap-cloud-sdk/resilienceTimeouts, retries and circuit breaking around remote callsfrom CAP
  12. @sap-cloud-sdk/utilGeneral utilities shared across the Cloud SDK packagesfrom CAP
  13. btp-cloud-connector-setup-automationYeoman generator for Cloud Connector mappings and BTP destinationsfrom BTP/BAIP
  14. @sapmentors/cds-scp-apiNode module for CAP calling external APIs through a destinationfrom CAP

Details

Sources5
npm registrydiscovered herechecked
The discovery passdiscovered herechecked
npm registry, @sap-cloud-sdk/http-clientversion, releases, installschecked
github.com/git+https://github.com/SAP/cloud-sdk-js.gittree, pushes, contributors, CIchecked
packages/http-client/README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv4.9.1
first release
releases and cadence1623, ~2d median
discovered vianpm registry, The discovery pass
first seen in the atlas
ecosystem and domaincap, integration-and-messaging
Contributors38
History in the atlas3
  1. Typed cds-plugin by placement, which defaults every candidate to that. It is not one.
  2. The HTTP client that carries a destination's credentials, so an outbound call inherits the authentication rather than assembling it.
  3. First seen.
For your agent
Ref
artifact:sap-cloud-sdk-http-client
JSON
/artifacts/sap-cloud-sdk-http-client.json
MCP
Connecting an agent