cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
1
Replies

Moving Cookies from Web API Response to Requests

billiardjester
Level 1
Level 1

To access a web API, the first step is to usually pass in your credentials and you get cookies back in the response that you need to propagate in your future web API requests to pass in the session at a minimum.

There are security limitations imposed on javascript to limit the visibility into 'set-cookie' within headers of web API responses.

What is the prescribed method within a Finesse gadget of moving cookies from the response header to the request header to make subsequent requests with the session and any other required cookies intact?

1 Reply 1

dekwan
Cisco Employee
Cisco Employee

Hi Joe,

That is a good question. I haven't had to make a gadget that uses that type of auth so I have no experience in what are the steps/methods to do so. Maybe someone in this community has and can give suggestions.

Thanx,

Denise