Page 1 of 1
Navigate with Header
Posted: Fri Feb 12, 2021 11:58 pm
by dominique
We have requirements to navigate to a website with Authorization Header. Does anyone know how to do that in LANSA?
Re: Navigate with Header
Posted: Thu Feb 25, 2021 12:54 am
by Dino
Hi Sailor, What are you trying to do once you are done with the navigating and arrive to that port? Do you want to show the website or are you expecting to find a json/xml content or similar to work/download?
Re: Navigate with Header
Posted: Thu Jun 03, 2021 1:48 am
by dominique
Thanks Dino
Sorry for replying so late
The first step is to invoke a client URL request with a JWT token issued in LANSA (like a cURL request). As result we get back a cookie back from a firewall. The second step is to use this cookie or some cookie properties to navigate to a specific URL.
I think we have to create a javascript and integrate that in a widget.