I want to connect from worklight to a domino domain and retrieve some data from an application. There is a url of the form http://domain.com/names.nsf?login&username=myname&password=mypass that if i send a request to from my browser, i will be authenticated. So if then i request http://domain.com/app1 i will be already logged in. In my browser there is a session cookie so this is how it is achieved.
How can i do it from worklight? I want to: 1. Retrieve the cookie from my first call to authApp (it doesnt return any json) 2. Attach it to any of my next requests to the same domain
Any suggestions?