Good day!
I'm trying to use the Web Service PAM operators to access a form of intranet;
It turns out that to use a form of Intranet me I need to log in with a user. This process comes down to:
By accessing the URL of the application / form (https://intranet.com.br/isg/APPS/#gss/1366) the web server directs me to a page login (https://login.intranet.com.br / distAuth /), which prompts my username and password and then returns to the url fo form first requested.
Part of authenticating the login page (distAuth) was simple and was performed with the HTTP Post and HTTP authentication prior .;
This operator when running returns a HTTPResponseHeaders and a Key called 'Set-Cookie' with value 'JSESSIONID = 0000iZ1f9EyAINcBSMhUitXdjHW: 1; Path = / ';
I guess I have to pass this JSESSIONID the next operator MAY be the 'form by HTTP Post'
I do not know how to do this and do not even know if this is the correct method and would like to set an example for my case.
If I do not pass any information to the Form HTTP operator, it returns me:
Error while executing request or processing HTTP response. class com.optinuity.c2o.util.C2OException. HTTP response returned a non-success HTTP code: 302. Reason: Moved Temporarily