Created
February 10, 2017 14:22
-
-
Save glynnbird/8532e7155bcd3c5f78e8e52f5eb36e29 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
| var request = require('request-promise'); | |
| var main = function() { | |
| var myAPIKey = 'ndsvn2g8dnsb9hsg'; | |
| var url = 'https://externalapi.service.com/v1/query?key=' + myAPIKey; | |
| return request(url); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment