The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get cookie from response header using policy API DataSource

williamtaka
By
Level 4

Hi,

I'm creating a policy integration and i need get the cookie value ("Set-Cookie") from response header.

This is the token value that i will use to authenticate any other API request.

The default response return only the "body" values.

How can i do it?

 

(1) Solution

TatianaD
By Level 4 Flexeran
Level 4 Flexeran

Hi  @williamtaka , at the moment, policy template language does not have capability to allow retrieving response header values. 

View solution in original post

(1) Reply

TatianaD
By Level 4 Flexeran
Level 4 Flexeran

Hi  @williamtaka , at the moment, policy template language does not have capability to allow retrieving response header values.