sap-cf-destconn
v1.0.0
Published
NodeJS Library that wraps the calls for the destination and connectivity service
Downloads
25,021
Readme
sap-cf-destconn
NodeJS Library that wraps the calls for the destination and connectivity service
Installation
using npm:
$ npm install -s sap-cf-destconn
Example
Read the destination configuration
const {readDestination} = require('sap-cf-destconn');
const destinationConfig = await readDestination("destinationName", "<JWT Token if you use Oauth2SAML or Oauth2USerToken>");
Read the connectivity configuration
const {readConnectivity} = require('sap-cf-destconn');
const connectivityConfig = await readConnectivity("<locationID>", "<JWT Token if you use principal propagation>");