Navigate with Header

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dominique
Posts: 50
Joined: Mon May 29, 2017 4:16 pm
Location: St. Gallen, Switzerland

Navigate with Header

Post by dominique »

We have requirements to navigate to a website with Authorization Header. Does anyone know how to do that in LANSA?
User avatar
Dino
Posts: 472
Joined: Fri Jul 19, 2019 7:49 am
Location: Robbinsville, NC
Contact:

Re: Navigate with Header

Post 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?
dominique
Posts: 50
Joined: Mon May 29, 2017 4:16 pm
Location: St. Gallen, Switzerland

Re: Navigate with Header

Post 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.
Post Reply