1
まだJavaScriptの基礎を学んでいますが、APIから情報を返すための簡単なGET Http Requestを作成しようとしていますが、responseTextは返されません。JavaScript GET responseText
var xhr = new XMLHttpRequest();
xhr.open('GET', "https://api.apithis.net/dictionary.php?define=hi", true);
xhr.send();
console.log(xhr.responseText)