# Cookies not getting sent with get/post request

**URL:** <https://community.postman.com/t/cookies-not-getting-sent-with-get-post-request/24937>\
**Category:** Help Hub\
**Tags:** authentication, cookies\
**Created:** [June 16, 2021, 6:44pm UTC](https://community.postman.com/t/cookies-not-getting-sent-with-get-post-request/24937 "2021-06-16T18:44:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicke7117](https://avatars.discourse-cdn.com/v4/letter/n/d78d45/32.png) [@nicke7117](https://community.postman.com/u/nicke7117)\
**Post date:** [June 16, 2021, 6:44pm UTC](https://community.postman.com/t/cookies-not-getting-sent-with-get-post-request/24937/1 "2021-06-16T18:44:38Z")

</div>

I’m currently using `localhost:5000` for my backend and` localhost:3000` for my frontend. When I log in I post login credentials to my backend and receive the `auth-token` as a cookie. I can see the cookie in “Cookies”. The problem is that when I try to access a private route, the cookie is not sent with the request, and therefore I cannot get authenticated.

How can I send the cookie with the request?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 29, 2025, 10:05am UTC](https://community.postman.com/t/cookies-not-getting-sent-with-get-post-request/24937/2 "2025-04-29T10:05:33Z")

</div>


