0

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')

1
  • 2
    Does your computer have the google module? Commented Oct 18, 2016 at 23:03

2 Answers 2

1

There is a request module present in NPM to create HTTP requests in Node.js.

npm request module

Hope this helps.

Sign up to request clarification or add additional context in comments.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.