doc_import.js 389 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
importClass(Packages.com.hand.hl.HttpPostUtilNew);
importPackage(Packages.java.io);
importPackage(Packages.java.util);
//importClass(Packages.leaf.plugin.util.Base64);

function httpPostDocImport(postUrl,data,token,tokentType) {
	try {
		var result = new HttpPostUtilNew().httpPostDocImport(postUrl,data,token,tokentType);
		return result;
	} catch (e) {
		println(e);
		return false;
	}
}