# Http response headers in cloud function response

**URL:** <https://community.parseplatform.org/t/http-response-headers-in-cloud-function-response/2486>\
**Category:** Cloud Code\
**Created:** [March 8, 2022, 1:09pm UTC](https://community.parseplatform.org/t/http-response-headers-in-cloud-function-response/2486 "2022-03-08T13:09:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![d-flex](https://community.parseplatform.org/letter_avatar_proxy/v4/letter/d/b5a626/32.png) [@d-flex](https://community.parseplatform.org/u/d-flex)\
**Post date:** [March 8, 2022, 1:09pm UTC](https://community.parseplatform.org/t/http-response-headers-in-cloud-function-response/2486/1 "2022-03-08T13:09:19Z")

</div>

Hey!  
I am trying to set http response headers on cloud functions’s responses, but I can’t find any way to do this.

The end-goal is that I’d like to run a cloud function that logs the user in and then sets a cookie in the response which will be stored in the browser. I already have the logging-in part of the solution working, so all that’s left is to set the response cookie.

---

<div class="post-metadata">

**Author:** ![davimacedo](https://community.parseplatform.org/user_avatar/community.parseplatform.org/davimacedo/32/316_2.png) [@davimacedo](https://community.parseplatform.org/u/davimacedo)\
**Post date:** [March 8, 2022, 4:21pm UTC](https://community.parseplatform.org/t/http-response-headers-in-cloud-function-response/2486/2 "2022-03-08T16:21:43Z")

</div>

In order to manage the responde header, you will have to create a custom express.js endpoint instead of using the cloud code function.
