📜  反应 axios 从响应中获取 cookie - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:02.406000             🧑  作者: Mango

代码示例1
axios.get('your_url', {withCredentials: true}); //for GET
axios.post('your_url', data, {withCredentials: true}); //for POST
axios.put('your_url', data, {withCredentials: true}); //for PUT
axios.delete('your_url', data, {withCredentials: true}); //for DELETE