X

Developer Partner Community

Accessing Remote Rest Services from Custom Components Using The Node.js HTTPS module by Frank Nimphius

Juergen Kress
PaaS Partner Adoption

image

You use custom components in Oracle Digital Assistant to access REST services for querying or updating data. Because custom components are developed in Node.js, you use Node modules to handle the REST service access. In this article I explain how you use the Node https module to query data and how to write data back to an Oracle Digital Assistant skill.

Note: If you are new to custom components in Oracle Digital Assistant, I do provide links to tutorials and article at the end of this blog article.

Node.js: Basics about accessing REST services

Becase of its simplicity, the most popular Node module for accessing REST service is "request". The request module however is flagged as deprecated and is no longer actively developed. For this reason, you should use the https Node module. The benefit of the https module is that it is part of the Node.js core package, which means that you don't need to install any additional Node module, and that it is well documented. Read the complete article here.

 

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.