export const getCourses = (num) =>  fetch(`${api}`, {    method: 'POST',    headers: {      ...headers    },     mode: 'cors',    body: JSON.stringify({num})  }).then((res) => {console.log(res.headers.get('Authorization'));return res.json()})    .then(data => data)想通过这段代码获取response头部的Authorization值,但是通过res.headers.get('Authorization')为null 可在chrome中可以看到响应头,这是为何啊?
                    
                    
                添加回答
举报
0/150
	提交
		取消
	
