一个简单的库,解决用uHttpSharp做服务端导致的FormData boundard warp问题。
A simple library, solved uHttpSharp cause FormData boundard warp problems.
var data=new EasyFormData();
data.append("name", name);
data.append("pw", pw);
xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
//do something...
}
xmlhttp.open("POST",url,true);
xmlhttp.send(data);