text: var request = new XMLHttpRequest();
  
  request.open('GET', 'http://localhost/index.php');
  request.onreadystatechange = function(){
  
  		if((request.status==200) && (request.readyState==4)){
  				console.log(request.responseText);		
  		}
  }
  
  request.send();
  