const options = {
headers: {
accept: "application/json",
appkey: "l7xx8b7f6b00426c4b948bb1e553d41df6e3",
},
};
const request = async () => {
const result = await axios.get(
"https://apis.openapi.sk.com/puzzle/pois",
options
);
console.log(result);
};
이런식으로 요청 했는데
Access to XMLHttpRequest at 'https://apis.openapi.sk.com/puzzle/pois' from origin 'http://127.0.0.1:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
에러가 발생합니다 ㅠㅠ 어떻게 해야 할까요?