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.

Links

License

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

Index

Interfaces

Type Aliases

Variables

Functions

buildHttpRequest csrf encodeAllParameters executeHttpRequest executeHttpRequestWithOrigin

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