SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest way is to use the request module.
request('https://example.com/url?a=b', function (error, response, body) { if (!error && response.statusCode == 200) { console.log(body); } });