js
post
var url = "http://xxxxxx:8000/file/append";
var params = {source_files: ['/home/mz505/pycharm/bin/pycharm.png']};
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.onload = fun.
原创
2020-05-25 13:11:22 ·
208 阅读 ·
0 评论