Created
November 8, 2017 17:34
-
-
Save enocom/d29e40a22c8040f6432dd95f5acc4286 to your computer and use it in GitHub Desktop.
This file contains 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
function getCookie(token) { | |
fetch("https://doppler.coconut.cf-app.com/set-cookie?CookieName=authorization&CookieValue="+token) | |
.then(function(response) { console.log(response); }) | |
} | |
function getRecentLogs(guid) { | |
fetch("https://doppler.coconut.cf-app.com/apps/" + guid + "/recentlogs") | |
.then(function(response) { return response.text(); }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment