Category: http

  • Understanding the key Differences Between HTTP and HTTPS?

    The foundation for data movement on the dynamic internet is provided by two protocols: HTTP (Hypertext movement Protocol) and HTTPS (Hypertext Transfer Protocol Secure).Understanding the differences between these two protocols is crucial as we navigate the digital world, especially in terms of security and data integrity. HTTP, or Hypertext Transfer Protocol, The cornerstone for transmitting […]

  • How to make an HTTP request?

    JavaScript is a flexible and potent programming language that gives programmers the ability to communicate with online APIs and retrieve data through HTTP requests from distant servers. JavaScript offers a simple way to make HTTP queries, whether you want to obtain data, change information, or transmit data to a server. We will look at several […]

  • Google Custom Search with NodeJS

    Goo Google provides a custom search API by which you can use the power of google search engine in your own application. The base URL for the REST version of custom search API is: https://www.googleapis.com/customsearch/v1 Before moving on to integration part, we need two things. API KEY Search Engine ID The API KEY can be […]

  • Bing Search API with NodeJS

    Bing provides a search API by which you can use the power of bing search in your own application. The base URL for the search API is: https://api.cognitive.microsoft.com/bing/v7.0/search The code to integrate the API using Express and Node JS is: The API Subscription Key can be created at the website: https://azure.microsoft.com/en-in/services/cognitive-services/bing-web-search-api/ If you want more […]

  • Meteor Methods vs REST API

    Many of you must have used MeteorJS Methods and have often mistook them for an analogue of REST API. Although Meteor Methods are similar to POST API request but they are quite different. The main difference between the two is that Meteor Methods are DDP (Distributed Data Protocol) messages and are based on RPC (Remote Procedure […]

  • Node.js tutorial – How to use Request Module

    In any application framework, one basic need is to be able to make REST calls over HTTP/HTTPS as they are widely used and a very handful in case of API interactions, web scraping, etc. We can use the NodeJS core modules or http https to perform these calls but that is a bit cumbersome process and […]

  • NODE.JS TUTORIAL – HOW TO USE REQUEST MODULE

    In any application framework one basic need is to be able to make REST calls over HTTP/HTTPS, they are widely used and very useful in cases of API interactions and web scraping. We can use the Node.js core modules http or https to perform these calls but that that can be a cumbersome process and the Request module makes it simple to perform […]