Open dhruvilxcode opened 1 year ago
to automatically send the http cookies from frontend to backend you first need to enable the CORS. then in the axios use following options to enable it.
axios.get('api URL here', { withCredentials: true });
[ ] Admin Panel
[ ] Shop Frontend
to automatically send the http cookies from frontend to backend you first need to enable the CORS. then in the axios use following options to enable it.