Last active
May 6, 2019 16:58
-
-
Save sm-a/e1ef04296645998f2321a7b2e8671734 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
try { | |
axios.get("here-my-url") | |
.then(data => res.status(200).send(data)) | |
.catch(err => res.send(err)); | |
} catch(err) { | |
console.error("ERROR", err); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment