Last active
May 26, 2017 13:53
-
-
Save JonFranchi/58467cfe227eb6124f112ad211194f2c 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 rpn = require('request-promise-native') | |
rpn('https://mondotees.com/collections/archive/Posters?page=1', options) | |
.then(function (response) { | |
console.log('body:', body); | |
}).catch(function (error) { | |
// define a promise catch in case it failed along the way | |
console.log('Promise Error:', error) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment