问题描述
我想发一个这样的帖子(使用 XMLHttpRequest)
我知道我可以使用 Ajax
$.ajax({
type : "POST",url : "https://url.PHP",data : { }
})
但我想使用 XMLHttpRequest 来实现
我试过了
xhr = new XMLHttpRequest();
xhr.open("POST","https://url.PHP");
xhr.send(JSON.stringify({ key:'value' }))
然后我有了这个
那么我如何使用 XMLHttpRequest 来处理第一张图片。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)