Month: October 2022

How to rename file in Node.js? fs.rename() Node.js

Introduction In this blog post, we will learn how to rename a file in Node.js using fs module. fs mdoule provides various synchronous and asynchronous APIs to rename files. Let’s get start. fs.rename() The fs.rename() is used to asynchronously rename a file at the given old path to provided new path. In the case that a new

Read more

SQL Injection Attack

Introduction: An SQL injection attack is a type of code injection attack wherein attackers can execute malicious SQL code to manipulate databases or disclose sensitive information. SQL injection attacks can be used to steal data, modify data, or even delete data. SQL Injection Attack: To demonstrate an example of a SQL injection attack, consider the

Read more

DNS module in Node.js

Introduction: DNS module is a core module of Node.js that provides developers with an interface to the Domain Name System (DNS). It allows you to do things like get and set DNS records, as well as resolve hostnames and IP addresses.  The DNS module is important because it helps you communicate with name servers around

Read more

HTTP Rest Client in Node.js: Everything You Need to Know

In a world where everything is interconnected, the network has become one of the most important pieces of infrastructure in our lives. And within that network, APIs have become one of the most valuable resources we have.  APIs are how businesses expose their internal data and functionality to the outside world, so any developer who

Read more

How to Create an HTTPS Server in Node.js

Introduction: HTTPS stands for “HyperText Transfer Protocol Secure” and is an encrypted version of the HyperText Transfer Protocol (HTTP) used to access web pages. HTTPS is used to ensure that the communication between the web server and the client (your web browser) is secure and private. It does this by encrypting the data that is

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site