Request loginPassword.txt

Rayvandy Gabbytian , November 20, 2014 16:33

Download (609 Bytes)

 
1
function loginPassword() {
2
	path = "bii_RestfulRib/service/IBLoginServices/LoginPassword";
3
	
4
	var input = {
5
		    method : 'post',
6
		    returnedContentType : 'json',
7
		    path : path,
8
		    body:{
9
	            contentType:'application/json; charset=UTF-8',
10
	            content:
11
	                JSON.stringify({
12
	                	"userAlias": "ribuser1",
13
	                	"password": "anything",
14
	                	"userAgent": "mobile",
15
	                	"remoteIPAddress":"10.247.12.12",
16
	                	"locale": "en"
17
	                })
18
	            }
19
		};
20
	
21
	
22
	return WL.Server.invokeHttp(input);
23
}