Created
April 27, 2020 18:03
-
-
Save wildthink/c3fe656e2438ed7e89bf56df27992dfd 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
/* | |
https://exchangerate.host/#/faq | |
var requestURL = 'https://api.exchangerate.host/convert?from=USD&to=EUR'; | |
var request = new XMLHttpRequest(); | |
request.open('GET', requestURL); | |
request.responseType = 'json'; | |
request.send(); | |
request.onload = function() { | |
var response = request.response; | |
console.log(response); | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment