Answer the question
In order to leave comments, you need to log in
Can't make a request?
Outputs undefined. What's wrong?
const request = require('request');
request({
url: 'https://maps.googleapis.com/maps/api/geocode/json?address=13551%20lombard%20street%newyork',
json: true
}, (error, response, body) => {
console.log(body);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question