[resolved] Cookie tRest Component

Highlighted
One Star

[resolved] Cookie tRest Component

Hi,i use talend data integration and i will use the tRest component..but i will get with the body,the cookie how i can send the cookie????

Accepted Solutions
Employee

Re: [resolved] Cookie tRest Component

tRESTClient has the advanced properties where you can set outgoing headers, so set a custom Cookie header there, response will contain a map of headers and you'd be able to get Set-Cookie header from the map.
HTH, Sergey

All Replies
Moderator

Re: [resolved] Cookie tRest Component

Hi,
It seems you want to use cookie concept in tRest component? What is your exact requirement? Could you please elaborate it?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] Cookie tRest Component

I will send cookie and take the cookie that the server return
Employee

Re: [resolved] Cookie tRest Component

tRESTClient has the advanced properties where you can set outgoing headers, so set a custom Cookie header there, response will contain a map of headers and you'd be able to get Set-Cookie header from the map.
HTH, Sergey

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.