How to use Azure Bing Spell Check API using node.js?

Microsoft Cloud Service - Azure provides different Cognitive AI/ML APIs which help solve problems and automate stuff. The Bing Spell Check API helps you to detect spelling errors in the text which you scan using API. It gives suggestions of words which might be wrong in the sentence. [Try the demo ] Let us get … Continue reading How to use Azure Bing Spell Check API using node.js?

Advertisements

Creating and deploying a Serverless REST API with AWS Lambda, DynamoDB and API Gateway and node.js

AWS Lambda is a compute service that lets you run code without provisioning or managing servers. Amazon DynamoDB is a fast and flexible nonrelational database service for all applications that need consistent, single-digit millisecond latency at any scale. Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, … Continue reading Creating and deploying a Serverless REST API with AWS Lambda, DynamoDB and API Gateway and node.js

How to GET and POST data from DynamoDB table using node.js and AWS Lambda(Serverless function)?

AWS Lambda is a compute service that lets you run code without provisioning or managing servers. Amazon DynamoDB is a fast and flexible nonrelational database service for all applications that need consistent, single-digit millisecond latency at any scale. Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, … Continue reading How to GET and POST data from DynamoDB table using node.js and AWS Lambda(Serverless function)?

DirectLineAPI – Testing with custom client and POSTMAN – Microsoft Bot Framework

Direct Line API is used enable communication between your bot and your own client application. This post will show you how can we use the direct line API of our BOT to start a conversation and also how to exchange Activities. We are using the Microsoft Sample bot example of Notes Bot. The below pic show … Continue reading DirectLineAPI – Testing with custom client and POSTMAN – Microsoft Bot Framework

Learning about LUIS and Consuming LUIS API in node.js

LUIS is Language Understanding Intelligent Service from Microsoft, as part of Azure Cognitive Services. Several Microsoft technologies work with LUIS: Bot Framework allows a chat bot to talk with a user via text input. Bing Speech API converts spoken language requests into text. Once converted to text, LUIS processes the requests. LUIS allows us to create an … Continue reading Learning about LUIS and Consuming LUIS API in node.js

Asynchronous call to a REST API using Node.js and using the Promises.

There is nothing new about sending a request to a REST API and fetching a response. In this blog we will show how can we make an asynchronous call to a API, which means your node.js code will be able to perform other operations while it requests sent to an API fetched the response. What … Continue reading Asynchronous call to a REST API using Node.js and using the Promises.

Java-Spring or JavaScript-Node.js?

Spring Framework for Java has been around past 15 years since its initial release. Most of the web developers prefer spring to build enterprise level web apps. But since last 3-4 years the Javascript has become more popular not only in the client-side development(Angular and React) but also towards the server-side development, thanks to nodejs. … Continue reading Java-Spring or JavaScript-Node.js?

Building a REST API in NodeJS, Express and MongoDB

REST stands for Representational state transfer. A REST API defines a set of functions which developers can perform requests and receive responses via HTTP protocol such as GET, POST, DELETE, PUT, PATCH. A Real World Example: Facebook  provides a REST API which you can query to get the number likes, you can provide a search … Continue reading Building a REST API in NodeJS, Express and MongoDB

NodeJs: HTTP Request – Response to REST API

Sending HTTP GET/POST Request and Response using Node JS. Code: var https = require("https"); exports.handler = (events,context,callback) => { var options = { host : 'hostname', port : '443', path : 'ifany', headers: { 'Authorization' : 'Basic' + new Buffer("username" + ':' + "password").toString('base64') } }; // request request = https.get(options, function(res){ var body = … Continue reading NodeJs: HTTP Request – Response to REST API