Last active
September 28, 2018 22:44
-
-
Save zlatkov/b66f922b26bb6d5fd701c7ba40ac81d7 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
// `rp` is a request-promise function. | |
rp(‘https://api.example.com/endpoint1').then(function(data) { | |
// … | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
There is a misspelled single quote on the second line. Here too: https://gist.github.com/zlatkov/f506c8de2c73ba1c4c9ec78c5871816c#file-sample25-js