Pugi Pugi - 1 month ago 5
Node.js Question

Is there a Node.js HTTP Request Module?

Is there a module for creating HTTP Requests in node.js? I am hoping to implement it like this:

var some-module = require('some-module')

Answer

Yes, you can use the "request" package. Simply include it in your project like this:

var request = require('request')

Remember to do npm install request in your terminal for your project's directory.