📜  jquery 到 vanilla js 转换器 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:18.878000             🧑  作者: Mango

代码示例5
var request = new XMLHttpRequest();
request.open('POST', '/my/url', true);
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
request.send(data);