JS XHR 发送get请求

node2:/django/mysite/news/templates#cat displaytestxhr.html 
<script>
 xhr=new XMLHttpRequest();
 console.log(xhr);
 xhr.open('GET','/testxhr/?a=11&b=22&c=53');
 console.log(xhr);
 xhr.send();
 
</script>
原文地址:https://www.cnblogs.com/hzcya1995/p/13348852.html