ajax请求 post get header 代码模板
谷歌浏览器chrome console 发送POST/GET请求 系统维护后台http工具
POST
//方法一:
var url = "/dict/test";
var params = {advertiserUid: 1232131, advertiserWeiboNickname: "18"};
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", .
原创
2020-07-26 12:45:12 ·
477 阅读 ·
0 评论