Connect using the Data Load REST API?

Where does IBM Bluemix store information necessary to allow an application to interact with IBM Data

Connect using the Data Load REST API?
A . In an associated Cloudant NoSQL database
B . In the VCAP_SERVICES environment variable
C . In an encrypted file within the application code
D . In a cookie placed on the developer’s computer when creating the service

Answer: B

Explanation:

To ensure that your app can interact with a Data Connect service instance, add code to your app to parse the connection information in the VCAP_SERVICES environment variable.

The value of the VCAP_SERVICES environment variable contains the information that your app needs in

order to interact with the Data Connect service.

In the first REST method that your app calls, use the user ID and password from the VCAP_SERVICES

environment variable to authenticate by using HTTP basic access authentication. The first call returns an

authentication cookie, which other REST calls from your app can use.

References: https://console.bluemix.net/docs/services/dataworks1/index.html#getting-started-with-dataconnect

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments