利用浏览器控制台进行网络请求
varurl="http://127.0.0.1:8080/open/test";varparams={"ids":[11]};varxhr=newXMLHttpRequest();xhr.open("POST",url,true);xhr.setRequestHeader("Content-Type","application/json");xhr.onload=function(e){if(x