在console输入: var xhr = new XMLHttpRequest(); xhr.open('GET', 'http://xxx.xxx.com/users.login'); xhr.send(null); xhr.onload = function(e) { var xhr = e.target; console.log(xhr.responseText); }