Last active
July 6, 2017 03:18
-
-
Save marciorodrigues87/414a3c2702aca8bc8b8338853518e7ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const request = require('request-promise').defaults({ | |
resolveWithFullResponse: true, | |
forever: true // <-- | |
}) | |
request('https://www.vivareal.com.br/') | |
.then(response => { | |
console.log('statusCode:', response && response.statusCode) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment