How to add the JSESSIONID and CSRFTOKEN inside the cookie through script include?

Bhagyashree Mo1
Kilo Contributor

Hello,

We have created the script include in order to call the "rest message followed by rest method" but we would further like to know that how we can pass the JSESSIONID and CSRFTOKEN inside the cookie through script. We anyway have the JSESSIONID stored in our instance browser but we need to pass it through script because we want this to hit the third party API (end point defined in the rest message). Thus, could you please share your suggestion/understanding on this?

Your help on this would be much appreciated!

Thanking in advance.

5 REPLIES 5

Do we have anything for JSESSIONID.
I am not able to see JSESSIONID in cookie.

Rohit B