SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using 'request.js' you might use the following:
var options = { url: 'localhost', method: 'GET', headers:{ Accept: '*/*' } } request(options, function (error, response, body) { ... })