Make Axios send cookies in its requests automatically
问题 I am sending requests from the client to my Express.js server using Axios. I set a cookie on the client and I want to read that cookie from all Axios requests without adding them manually to request by hand. This is my clientside request example: axios.get(`some api url`).then(response => ... I tried to access headers or cookies by using these properties in my Express.js server: req.headers req.cookies Neither of them contained any cookies. I am using cookie parser middleware: app.use