Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

788 B

Making API calls with HTTP

You can make API calls using the http module in Node.js as well. Here are the two methods that you can use:

  • http.get() - Make http GET requests.
  • http.request() - Similar to http.get() but enables sending other types of http requests (GET requests inclusive).

Visit the following resources to learn more: