Ajax call with withCredentials: true is not sending cookie in request
问题 My scenario: example.com is a django page which is being visited by user. session is set by server. Now, I have frontend app on another domain called xyz.com , Now, I need to call APIs on example.com , so I am trying to make ajax call with withCredentials: true . but it does not seems to sending cookie 'sessionId' in request. I have already seen some stack overflow answers, but suggested answers are not working. link1 link2 link3 What I have been trying : My backend is written in Django, so I