Search code examples
node.jsibm-cloudwatson-conversationwatson

Watson Developer Cloud API


Does the WDC API (https://www.npmjs.com/package/watson-developer-cloud) use static IP addresses to access various Watson Services available through gateway.watsonplatform.net and stream.watsonplatform.net?

Thanks!


Solution

  • The IBM Watson cognitive services are accessible via the URI provided in the respective service credentials. They differ depending on what region, what service, and what type of service plan is used.

    If you are writing a Cloud Foundry app, e.g. based on Node.js and the WDC SDK you mentioned in your question, then you can obtain the service credentials by accessing the VCAP environment. Code samples are in the SDK.