function loginUsername() { path = "bii_RestfulRib/service/IBLoginServices/loginUsername"; var input = { method : 'post', returnedContentType : 'json', path : path, body:{ contentType:'application/json; charset=UTF-8', content: JSON.stringify({ "userAlias":"ribuser1", "locale":"en" }) } }; return WL.Server.invokeHttp(input); }