Category: Database, Data, container

Module is a collection of one or more JavaScript files to serve complex functionality. There are 3 types of modules: Consider we have created a Spring RESTful web application using Spring Boot.

Example: In the above example, the http.request() method is used to send HTTP POST request to the Spring REST API endpoint. Define the data which we must send along with the POST request to Spring REST API.

With the help of Http module in Node.js, we can send different types of HTTP requests to Spring Rest API.

Related Articles