var xhr = new XMLHttpRequest();
xhr.open("GET", "https://uinames.com/api/?gender=female®ion=russia");
xhr.send();
xhr.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
const data = JSON.parse(this.responseText);
}
}