# Reusing set-cookie from response headers in HTTP request

**URL:** <https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482>\
**Category:** General\
**Created:** [8 September 2022 13:52 UTC](https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482 "2022-09-08T13:52:39Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![josechu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josechu/32/67504_2.png) [@josechu](https://discourse.nodered.org/u/josechu)\
**Post date:** [12 September 2022 15:18 UTC](https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482/21 "2022-09-12T15:18:49Z")

</div>

Yes, and for other flows I've always used a change node like in: [Reusing set-cookie from response headers in HTTP request - #19 by josechu](https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482/19)

And it works for other flows... thats why I suspect around the cookie thing, because the login I though was good ☹

Is this not the right way to send that raw info from the curl?

---

<div class="post-metadata">

**Author:** ![josechu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josechu/32/67504_2.png) [@josechu](https://discourse.nodered.org/u/josechu)\
**Post date:** [15 September 2022 08:35 UTC](https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482/22 "2022-09-15T08:35:26Z")

</div>

I haven't fixed this yet ☹ , but thanks for all tour help @bakman2 , what I'm trying to do now is doing all of this but instead of simulating curl requests copied from web site now I've installed the iOS app version (of this web app) in my macos, inspected the calls with a proxy for the calls, and found that the calls from the iOS app are different than the web site... better built, and with a token that seems to not expire :), so i'm reusing the token of the iOS app calls from nod-red and everything works fine, and as answers come in nice JSON format os easier to play with it 🙂  
I'll come back to this thread in case I manage to fix this, but at least I have it working via other way.

I mark as solution [your last proposal to reuse set-cookie](https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482/15), as that was the main intention of this thread 😉

---

<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:** [29 September 2022 08:36 UTC](https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482/23 "2022-09-29T08:36:12Z")

</div>

Closed on 29 September 2022 08:36 UTC

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

[Previous page](https://discourse.nodered.org/t/reusing-set-cookie-from-response-headers-in-http-request/67482.md?page=1)
