Back to Developer Roadmap

Making API calls with HTTP

src/data/roadmaps/nodejs/content/http-module@Sjc1YDtbzXyLQH711_3nj.md

4.0787 B
Original Source

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: