importClass(Packages.com.hand.hlcm.HttpPostUtil); importPackage(Packages.java.io); importPackage(Packages.java.util); //importClass(Packages.leaf.plugin.util.Base64); function httpPostGetToken(postUrl,appId,appSecret) { try { var result = new HttpPostUtil().httpPostGetToken(postUrl,appId,appSecret); return result; } catch (e) { println(e); return false; } }