-
-
Save sillyslux/f2be88fddcc852031f235b64bf08437c 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 getOldNavDaily = oldNavUrl => fetch(oldNavUrl) | |
.then(resp => resp.json()) | |
.then(data => data.payload.nav); | |
getOldNavDaily('//example.com/getOldNavDaily.php').then(console.log); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment