# Use cookies from http response in functions

**URL:** <https://discourse.nodered.org/t/use-cookies-from-http-response-in-functions/49051>\
**Category:** General\
**Created:** [28 July 2021 23:54 UTC](https://discourse.nodered.org/t/use-cookies-from-http-response-in-functions/49051 "2021-07-28T23:54:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarisuCode](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marisucode/32/45688_2.png) [@MarisuCode](https://discourse.nodered.org/u/MarisuCode)\
**Post date:** [28 July 2021 23:54 UTC](https://discourse.nodered.org/t/use-cookies-from-http-response-in-functions/49051/1 "2021-07-28T23:54:10Z")

</div>

Hello guys,

I am new to Node Red and i am working on controlling a REST Endpoint.

If authentification is enabled on the endpoint i need to send the provided Cookies provided from the endpoint with every http request i make towards it or the session ends.

I have it working with Postman but dont know how to process or store Cookies from responses in Node Red.

I made a scheme Flow in Node Red to show basicly show you what I want to achieve and marked where i am struggling.  
Maybe u guys have some ideas and tips for a newbie?

 ![Screenshot 2021-07-29 013422](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/0/a04cb0619cbc6d6678157f71775c75238f13d6ae.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 September 2021 23:54 UTC](https://discourse.nodered.org/t/use-cookies-from-http-response-in-functions/49051/2 "2021-09-26T23:54:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
