Commit a3427e63 authored by Leon's avatar Leon

upload

parent d82383f9
importPackage("xmlhttprequest");
function fuck() {
var xhr = new XMLHttpRequest;
xhr.setRequestHeader('Content-Type', 'application/json');
var url = "http://183.129.181.42:6001/k3cloud/Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc";
xhr.open('POST', url, false);
xhr.send(JSON.stringify({
acctID: "5c65030a5b8013",
username: "administrator",
password: "20202020",
lcid: "2052"
}));
print(xhr.status);
print(xhr.responseText);
print(xhr.getAllResponseHeaders());
}
fuck();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment