Need to get/set cookie parameters in REST message

Neha15
Kilo Contributor

Hi All,

I am getting the session id within the cookies when I tested the REST API in postman tool. I have configured the REST messages in ServiceNow and calling them from a scheduled script. I need to pass the session id from one request to the subsequent requests. Can anyone please let me know how this can be done using the script.

Thanks in Advance.

 

 

5 REPLIES 5

avi2329
Tera Contributor

Were anyone able to get this working?