Question

3
Replies
1333
Views
Close popover
Sarabdeep Singh (SarabdeepS)
Capgemini

Capgemini
IN
SarabdeepS Member since 2016 7 posts
Capgemini
Posted: August 14, 2017
Last activity: October 16, 2018
Closed
Solved

How to capture Cookie information in Connect Rest response headers using POST method

Hi,

I need to capture cookie value that is being sent in Connect Rest response headers.

When I hit the service using soap ui, I can see that response headers has "Set-Cookie" repeated 3 times as depicted in attached screenshot cookie.PNG.

Now in Pega when I am trying to map the "Set-Cookie" value to clipboard property, it is setting the last occurrence value whereas requirement is to capture the first occurrence value i.e. value starting with ObSSOCookie . Screenshot attached for Connect-Rest Post configuration i.e ConnectRest.PNG.

Any leads would be appreciated.

***Edited by Moderator Marissa to update categories***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.