title: How to store cookies in cookie storage when I make a fetch request
body: <p>I am trying to access profile API from my backend using fetch requests in react. But I get server errors all the time. it seems the backend does not recognise that I am logged in though login request works fine. I really need help with this. Been stuck for weeks.  Aall the necessary code and errors are in the link below since I asked this question some time ago but couldnt get an answer. Thank you in advance.</p>
  <p><a href="https://stackoverflow.com/questions/72988931/how-to-access-profile-api-from-the-frontend-user-is-logged-in-from-the-backend">previous question</a></p>